Interface PropertyValidationException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,ConnectException.Builder,CopyableBuilder<PropertyValidationException.Builder,PropertyValidationException>,SdkBuilder<PropertyValidationException.Builder,PropertyValidationException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- PropertyValidationException
public static interface PropertyValidationException.Builder extends SdkPojo, CopyableBuilder<PropertyValidationException.Builder,PropertyValidationException>, ConnectException.Builder
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.Builder
awsErrorDetails, build, clockSkew, clockSkew, extendedRequestId
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, writableStackTrace
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
propertyList
PropertyValidationException.Builder propertyList(Collection<PropertyValidationExceptionProperty> propertyList)
Sets the value of the PropertyList property for this object.- Parameters:
propertyList- The new value for the PropertyList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyList
PropertyValidationException.Builder propertyList(PropertyValidationExceptionProperty... propertyList)
Sets the value of the PropertyList property for this object.- Parameters:
propertyList- The new value for the PropertyList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyList
PropertyValidationException.Builder propertyList(Consumer<PropertyValidationExceptionProperty.Builder>... propertyList)
Sets the value of the PropertyList property for this object. This is a convenience method that creates an instance of thePropertyValidationExceptionProperty.Builderavoiding the need to create one manually viaPropertyValidationExceptionProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#propertyList(List.) - Parameters:
propertyList- a consumer that will call methods onPropertyValidationExceptionProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#propertyList(java.util.Collection)
-
awsErrorDetails
PropertyValidationException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceConnectException.Builder
-
message
PropertyValidationException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceConnectException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
PropertyValidationException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceConnectException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
PropertyValidationException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceConnectException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
PropertyValidationException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceConnectException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
PropertyValidationException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceConnectException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-