Class CfnEndpoint.FailedReasonProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3outposts.CfnEndpoint.FailedReasonProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpoint.FailedReasonProperty>
- Enclosing interface:
CfnEndpoint.FailedReasonProperty
@Stability(Stable)
public static final class CfnEndpoint.FailedReasonProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpoint.FailedReasonProperty>
A builder for
CfnEndpoint.FailedReasonProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEndpoint.FailedReasonProperty.getErrorCode()Sets the value ofCfnEndpoint.FailedReasonProperty.getMessage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
errorCode
Sets the value ofCfnEndpoint.FailedReasonProperty.getErrorCode()- Parameters:
errorCode- The failure code, if any, for a create or delete endpoint operation.- Returns:
this
-
message
Sets the value ofCfnEndpoint.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<CfnEndpoint.FailedReasonProperty>- Returns:
- a new instance of
CfnEndpoint.FailedReasonProperty - Throws:
NullPointerException- if any required attribute was not provided
-