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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEndpoint.FailedReasonProperty.getErrorCode()Sets the value ofCfnEndpoint.FailedReasonProperty.getMessage()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
errorCodeSets the value ofCfnEndpoint.FailedReasonProperty.getErrorCode()- Parameters:
- errorCode- The failure code, if any, for a create or delete endpoint operation.
- Returns:
- this
 
- 
messageSets the value ofCfnEndpoint.FailedReasonProperty.getMessage()- Parameters:
- message- Additional error details describing the endpoint failure and recommended action.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnEndpoint.FailedReasonProperty>
- Returns:
- a new instance of CfnEndpoint.FailedReasonProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-