Interface GetSupplyChainPolicyExceptionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<GetSupplyChainPolicyExceptionResponse.Builder,,GetSupplyChainPolicyExceptionResponse> SdkBuilder<GetSupplyChainPolicyExceptionResponse.Builder,,GetSupplyChainPolicyExceptionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSupplyChainPolicyExceptionResponse
@Mutable
@NotThreadSafe
public static interface GetSupplyChainPolicyExceptionResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<GetSupplyChainPolicyExceptionResponse.Builder,GetSupplyChainPolicyExceptionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the policy exception.The time the policy exception was created.exception(Consumer<SupplyChainPolicyException.Builder> exception) The definition of the policy exception.exception(SupplyChainPolicyException exception) The definition of the policy exception.The ID of the policy exception.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
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 definition of the policy exception.
- Parameters:
exception- The definition of the policy exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exception
default GetSupplyChainPolicyExceptionResponse.Builder exception(Consumer<SupplyChainPolicyException.Builder> exception) The definition of the policy exception.
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.
- Parameters:
updatedAt- The time the policy exception was last updated.- 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.
-