Interface UpdateSupplyChainPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<UpdateSupplyChainPolicyResponse.Builder,,UpdateSupplyChainPolicyResponse> SdkBuilder<UpdateSupplyChainPolicyResponse.Builder,,UpdateSupplyChainPolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateSupplyChainPolicyResponse
@Mutable
@NotThreadSafe
public static interface UpdateSupplyChainPolicyResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<UpdateSupplyChainPolicyResponse.Builder,UpdateSupplyChainPolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the policy.The time the policy was created.The ID of the policy.policy(Consumer<SupplyChainPolicy.Builder> policy) The policy as stored after the update.policy(SupplyChainPolicy policy) The policy as stored after the update.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.
- Parameters:
id- The ID of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the policy.
- Parameters:
arn- The ARN of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The policy as stored after the update.
- Parameters:
policy- The policy as stored after the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The policy as stored after the update.
This is a convenience method that creates an instance of theSupplyChainPolicy.Builderavoiding the need to create one manually viaSupplyChainPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicy(SupplyChainPolicy).- Parameters:
policy- a consumer that will call methods onSupplyChainPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time the policy was created.
- Parameters:
createdAt- The time the policy 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.
-