Interface CreateSupplyChainPolicyExceptionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<CreateSupplyChainPolicyExceptionResponse.Builder,,CreateSupplyChainPolicyExceptionResponse> SdkBuilder<CreateSupplyChainPolicyExceptionResponse.Builder,,CreateSupplyChainPolicyExceptionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateSupplyChainPolicyExceptionResponse
@Mutable
@NotThreadSafe
public static interface CreateSupplyChainPolicyExceptionResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<CreateSupplyChainPolicyExceptionResponse.Builder,CreateSupplyChainPolicyExceptionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the policy exception.The time the policy exception was created.exception(Consumer<SupplyChainPolicyException.Builder> exception) The policy exception as stored.exception(SupplyChainPolicyException exception) The policy exception as stored.Opaque identifier generated by the service.Computed from expiresAt at read time.status(ExceptionStatus status) Computed from expiresAt at read time.The tags on the policy exception.The time the policy exception was last updated.Methods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
Opaque identifier generated by the service.
- Parameters:
id- Opaque identifier generated by the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the policy exception.
- Parameters:
arn- The ARN of the policy exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exception
The policy exception as stored.
- Parameters:
exception- The policy exception as stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exception
default CreateSupplyChainPolicyExceptionResponse.Builder exception(Consumer<SupplyChainPolicyException.Builder> exception) The policy exception as stored.
This is a convenience method that creates an instance of theSupplyChainPolicyException.Builderavoiding the need to create one manually viaSupplyChainPolicyException.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexception(SupplyChainPolicyException).- Parameters:
exception- a consumer that will call methods onSupplyChainPolicyException.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Computed from expiresAt at read time.
- Parameters:
status- Computed from expiresAt at read time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Computed from expiresAt at read time.
- Parameters:
status- Computed from expiresAt at read time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time the policy exception was created.
- Parameters:
createdAt- The time the policy exception was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time the policy exception was last updated. Equal to createdAt for a new exception.
- Parameters:
updatedAt- The time the policy exception was last updated. Equal to createdAt for a new exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags on the policy exception.
- Parameters:
tags- The tags on the policy exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-