Interface ResourcePolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourcePolicy.Builder,ResourcePolicy>,SdkBuilder<ResourcePolicy.Builder,ResourcePolicy>,SdkPojo
- Enclosing class:
- ResourcePolicy
@Mutable @NotThreadSafe public static interface ResourcePolicy.Builder extends SdkPojo, CopyableBuilder<ResourcePolicy.Builder,ResourcePolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourcePolicy.BuilderlastUpdatedTime(Instant lastUpdatedTime)When the policy was last updated, in Unix time seconds.ResourcePolicy.BuilderpolicyDocument(String policyDocument)The resource policy document, which can be up to 5kb in size.ResourcePolicy.BuilderpolicyName(String policyName)The name of the resource policy.ResourcePolicy.BuilderpolicyRevisionId(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
policyName
ResourcePolicy.Builder policyName(String 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
ResourcePolicy.Builder policyDocument(String 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
ResourcePolicy.Builder policyRevisionId(String 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
ResourcePolicy.Builder lastUpdatedTime(Instant 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.
-
-