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
(Long lastUpdatedTime) Timestamp showing when this policy was last updated, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
.policyDocument
(String policyDocument) The details of the policy.policyName
(String policyName) The name of the resource 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, sdkFields
-
Method Details
-
policyName
The name of the resource policy.
- Parameters:
policyName
- The name of the resource policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDocument
The details of the policy.
- Parameters:
policyDocument
- The details of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
Timestamp showing when this policy was last updated, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
.- Parameters:
lastUpdatedTime
- Timestamp showing when this policy was last updated, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-