Interface BatchGetPolicyOutputItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchGetPolicyOutputItem.Builder,
,BatchGetPolicyOutputItem> SdkBuilder<BatchGetPolicyOutputItem.Builder,
,BatchGetPolicyOutputItem> SdkPojo
- Enclosing class:
BatchGetPolicyOutputItem
-
Method Summary
Modifier and TypeMethodDescriptioncreatedDate
(Instant createdDate) The date and time the policy was created.default BatchGetPolicyOutputItem.Builder
definition
(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.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
policyStoreId
The 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.
-
policyId
The 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.
-
policyType
The 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:
-
-
policyType
The 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:
-
-
definition
The 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.
-
definition
default 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.Builder
avoiding the need to create one manually viaPolicyDefinitionDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(PolicyDefinitionDetail)
.- Parameters:
definition
- a consumer that will call methods onPolicyDefinitionDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdDate
The 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.
-
lastUpdatedDate
The 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.
-