Class CfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty>
- Enclosing interface:
CfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty
@Stability(Stable)
public static final class CfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
code
@Stability(Stable) public CfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty.Builder code(String code) Sets the value ofCfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty.getCode()- Parameters:
code- The status code.- Returns:
this
-
message
@Stability(Stable) public CfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty.Builder message(String message) Sets the value ofCfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty.getMessage()- Parameters:
message- The status message, if applicable.- Returns:
this
-
build
@Stability(Stable) public CfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty>- Returns:
- a new instance of
CfnTransitGatewayPeeringAttachmentPropsMixin.PeeringAttachmentStatusProperty - Throws:
NullPointerException- if any required attribute was not provided
-