Interface ServicePolicyDisassociatedMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServicePolicyDisassociatedMetadata.Builder,,ServicePolicyDisassociatedMetadata> SdkBuilder<ServicePolicyDisassociatedMetadata.Builder,,ServicePolicyDisassociatedMetadata> SdkPojo
- Enclosing class:
ServicePolicyDisassociatedMetadata
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the PolicyArn property for this object.policyName(String policyName) The name of the disassociated policy.policyOwnerAccountId(String policyOwnerAccountId) The account that owns the policy.policySource(String policySource) The source of the policy.policySource(PolicyValueSource policySource) The source of the policy.The reason the policy was disassociated from the service.reason(PolicyDisassociationReason reason) The reason the policy was disassociated from the service.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
policyName
The name of the disassociated policy.
- Parameters:
policyName- The name of the disassociated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyArn
Sets the value of the PolicyArn property for this object.- Parameters:
policyArn- The new value for the PolicyArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyOwnerAccountId
The account that owns the policy.
- Parameters:
policyOwnerAccountId- The account that owns the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policySource
The source of the policy.
-
SELF — the policy belongs to the account that owns the service.
-
CROSS_ACCOUNT — the policy belongs to another account and was shared with the organization.
- Parameters:
policySource- The source of the policy.-
SELF — the policy belongs to the account that owns the service.
-
CROSS_ACCOUNT — the policy belongs to another account and was shared with the organization.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
policySource
The source of the policy.
-
SELF — the policy belongs to the account that owns the service.
-
CROSS_ACCOUNT — the policy belongs to another account and was shared with the organization.
- Parameters:
policySource- The source of the policy.-
SELF — the policy belongs to the account that owns the service.
-
CROSS_ACCOUNT — the policy belongs to another account and was shared with the organization.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
reason
The reason the policy was disassociated from the service.
- Parameters:
reason- The reason the policy was disassociated from the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
The reason the policy was disassociated from the service.
- Parameters:
reason- The reason the policy was disassociated from the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-