Interface ResourcePolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourcePolicy.Builder,
,ResourcePolicy> SdkBuilder<ResourcePolicy.Builder,
,ResourcePolicy> SdkPojo
- Enclosing class:
ResourcePolicy
public static interface ResourcePolicy.Builder
extends SdkPojo, CopyableBuilder<ResourcePolicy.Builder,ResourcePolicy>
-
Method Summary
Modifier and TypeMethodDescriptionlastUpdatedTime
(Instant lastUpdatedTime) When the policy was last updated, in Unix time seconds.policyDocument
(String policyDocument) The resource policy document, which can be up to 5kb in size.policyName
(String policyName) The name of the resource policy.policyRevisionId
(String policyRevisionId) Returns the current policy revision id for this policy name.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, sdkFields
-
Method Details
-
policyName
The name of the resource policy. Must be unique within a specific Amazon Web Services account.
- Parameters:
policyName
- The name of the resource policy. Must be unique within a specific Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDocument
The resource policy document, which can be up to 5kb in size.
- Parameters:
policyDocument
- The resource policy document, which can be up to 5kb in size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyRevisionId
Returns the current policy revision id for this policy name.
- Parameters:
policyRevisionId
- Returns the current policy revision id for this policy name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
When the policy was last updated, in Unix time seconds.
- Parameters:
lastUpdatedTime
- When the policy was last updated, in Unix time seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-