Class CfnEndpointPropsMixin.FailedReasonProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3outposts.CfnEndpointPropsMixin.FailedReasonProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointPropsMixin.FailedReasonProperty>
- Enclosing interface:
CfnEndpointPropsMixin.FailedReasonProperty
@Stability(Stable)
public static final class CfnEndpointPropsMixin.FailedReasonProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointPropsMixin.FailedReasonProperty>
A builder for
CfnEndpointPropsMixin.FailedReasonProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEndpointPropsMixin.FailedReasonProperty.getErrorCode()Sets the value ofCfnEndpointPropsMixin.FailedReasonProperty.getMessage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
errorCode
@Stability(Stable) public CfnEndpointPropsMixin.FailedReasonProperty.Builder errorCode(String errorCode) Sets the value ofCfnEndpointPropsMixin.FailedReasonProperty.getErrorCode()- Parameters:
errorCode- The failure code, if any, for a create or delete endpoint operation.- Returns:
this
-
message
@Stability(Stable) public CfnEndpointPropsMixin.FailedReasonProperty.Builder message(String message) Sets the value ofCfnEndpointPropsMixin.FailedReasonProperty.getMessage()- Parameters:
message- Additional error details describing the endpoint failure and recommended action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointPropsMixin.FailedReasonProperty>- Returns:
- a new instance of
CfnEndpointPropsMixin.FailedReasonProperty - Throws:
NullPointerException- if any required attribute was not provided
-