Interface GetSupplyChainPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<GetSupplyChainPolicyResponse.Builder,,GetSupplyChainPolicyResponse> SdkBuilder<GetSupplyChainPolicyResponse.Builder,,GetSupplyChainPolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSupplyChainPolicyResponse
@Mutable
@NotThreadSafe
public static interface GetSupplyChainPolicyResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<GetSupplyChainPolicyResponse.Builder,GetSupplyChainPolicyResponse>
-
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 name, description, and rules of the policy.policy(SupplyChainPolicy policy) The name, description, and rules of the policy.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
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 name, description, and rules of the policy.
- Parameters:
policy- The name, description, and rules of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The name, description, and rules of the policy.
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.
- Parameters:
updatedAt- The time the policy was last updated.- 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.
-