Interface BatchGetPolicyOutputItem.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<BatchGetPolicyOutputItem.Builder,,- BatchGetPolicyOutputItem> - SdkBuilder<BatchGetPolicyOutputItem.Builder,,- BatchGetPolicyOutputItem> - SdkPojo
- Enclosing class:
- BatchGetPolicyOutputItem
- 
Method SummaryModifier and TypeMethodDescriptioncreatedDate(Instant createdDate) The date and time the policy was created.default BatchGetPolicyOutputItem.Builderdefinition(Consumer<PolicyDefinitionDetail.Builder> definition) The policy definition of an item in the list of policies returned.definition(PolicyDefinitionDetail definition) The policy definition of an item in the list of policies returned.lastUpdatedDate(Instant lastUpdatedDate) The date and time the policy was most recently updated.The identifier of the policy you want information about.policyStoreId(String policyStoreId) The identifier of the policy store where the policy you want information about is stored.policyType(String policyType) The type of the policy.policyType(PolicyType policyType) The type of the policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
policyStoreIdThe identifier of the policy store where the policy you want information about is stored. - Parameters:
- policyStoreId- The identifier of the policy store where the policy you want information about is stored.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
policyIdThe identifier of the policy you want information about. - Parameters:
- policyId- The identifier of the policy you want information about.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
policyTypeThe type of the policy. This is one of the following values: - 
 STATIC
- 
 TEMPLATE_LINKED
 - Parameters:
- policyType- The type of the policy. This is one of the following values:- 
        STATIC
- 
        TEMPLATE_LINKED
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
policyTypeThe type of the policy. This is one of the following values: - 
 STATIC
- 
 TEMPLATE_LINKED
 - Parameters:
- policyType- The type of the policy. This is one of the following values:- 
        STATIC
- 
        TEMPLATE_LINKED
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
definitionThe policy definition of an item in the list of policies returned. - Parameters:
- definition- The policy definition of an item in the list of policies returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
definitiondefault BatchGetPolicyOutputItem.Builder definition(Consumer<PolicyDefinitionDetail.Builder> definition) The policy definition of an item in the list of policies returned. This is a convenience method that creates an instance of thePolicyDefinitionDetail.Builderavoiding the need to create one manually viaPolicyDefinitionDetail.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(PolicyDefinitionDetail).- Parameters:
- definition- a consumer that will call methods on- PolicyDefinitionDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
createdDateThe date and time the policy was created. - Parameters:
- createdDate- The date and time the policy was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lastUpdatedDateThe date and time the policy was most recently updated. - Parameters:
- lastUpdatedDate- The date and time the policy was most recently updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-