Interface CreateSupplyChainPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<CreateSupplyChainPolicyResponse.Builder,,CreateSupplyChainPolicyResponse> SdkBuilder<CreateSupplyChainPolicyResponse.Builder,,CreateSupplyChainPolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateSupplyChainPolicyResponse
@Mutable
@NotThreadSafe
public static interface CreateSupplyChainPolicyResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<CreateSupplyChainPolicyResponse.Builder,CreateSupplyChainPolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the policy.The time the policy was created.Opaque identifier generated by the service.policy(Consumer<SupplyChainPolicy.Builder> policy) The policy as stored.policy(SupplyChainPolicy policy) The policy as stored.The tags on the policy.The time the policy 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.
- 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.
- Parameters:
policy- The policy as stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The policy as stored.
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 the policy was last updated. Equal to createdAt for a new policy.
- Parameters:
updatedAt- The time the policy was last updated. Equal to createdAt for a new policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags on the policy.
- Parameters:
tags- The tags on the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-