Interface BatchGetPolicyOutputItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchGetPolicyOutputItem.Builder,BatchGetPolicyOutputItem>,SdkBuilder<BatchGetPolicyOutputItem.Builder,BatchGetPolicyOutputItem>,SdkPojo
- Enclosing class:
- BatchGetPolicyOutputItem
@Mutable @NotThreadSafe public static interface BatchGetPolicyOutputItem.Builder extends SdkPojo, CopyableBuilder<BatchGetPolicyOutputItem.Builder,BatchGetPolicyOutputItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchGetPolicyOutputItem.BuildercreatedDate(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.BatchGetPolicyOutputItem.Builderdefinition(PolicyDefinitionDetail definition)The policy definition of an item in the list of policies returned.BatchGetPolicyOutputItem.BuilderlastUpdatedDate(Instant lastUpdatedDate)The date and time the policy was most recently updated.BatchGetPolicyOutputItem.BuilderpolicyId(String policyId)The identifier of the policy you want information about.BatchGetPolicyOutputItem.BuilderpolicyStoreId(String policyStoreId)The identifier of the policy store where the policy you want information about is stored.BatchGetPolicyOutputItem.BuilderpolicyType(String policyType)The type of the policy.BatchGetPolicyOutputItem.BuilderpolicyType(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 Detail
-
policyStoreId
BatchGetPolicyOutputItem.Builder policyStoreId(String 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
BatchGetPolicyOutputItem.Builder policyId(String 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
BatchGetPolicyOutputItem.Builder policyType(String 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,PolicyType
-
-
policyType
BatchGetPolicyOutputItem.Builder policyType(PolicyType 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,PolicyType
-
-
definition
BatchGetPolicyOutputItem.Builder definition(PolicyDefinitionDetail 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.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 onPolicyDefinitionDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
definition(PolicyDefinitionDetail)
-
createdDate
BatchGetPolicyOutputItem.Builder createdDate(Instant 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
BatchGetPolicyOutputItem.Builder lastUpdatedDate(Instant 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.
-
-