Interface UpdateSupplyChainPolicyExceptionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<UpdateSupplyChainPolicyExceptionResponse.Builder,,UpdateSupplyChainPolicyExceptionResponse> SdkBuilder<UpdateSupplyChainPolicyExceptionResponse.Builder,,UpdateSupplyChainPolicyExceptionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateSupplyChainPolicyExceptionResponse
@Mutable
@NotThreadSafe
public static interface UpdateSupplyChainPolicyExceptionResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<UpdateSupplyChainPolicyExceptionResponse.Builder,UpdateSupplyChainPolicyExceptionResponse>
-
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 after the update.exception(SupplyChainPolicyException exception) The policy exception as stored after the update.The ID of the policy exception.Computed from expiresAt at read time.status(ExceptionStatus status) Computed from expiresAt at read time.The time of this update.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
The ID of the policy exception.
- Parameters:
id- The ID of the policy exception.- 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 after the update.
- Parameters:
exception- The policy exception as stored after the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exception
default UpdateSupplyChainPolicyExceptionResponse.Builder exception(Consumer<SupplyChainPolicyException.Builder> exception) The policy exception as stored after the update.
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 of this update.
- Parameters:
updatedAt- The time of this update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-