Interface AgentEnforcedPolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentEnforcedPolicy.Builder,,AgentEnforcedPolicy> SdkBuilder<AgentEnforcedPolicy.Builder,,AgentEnforcedPolicy> SdkPojo
- Enclosing class:
AgentEnforcedPolicy
-
Method Summary
Modifier and TypeMethodDescriptionThe time when the agent-enforced policy was created.The identifier of the agent-enforced policy.The name of the agent-enforced policy.The owner of the agent-enforced policy:owner(ResourceOwnerType owner) The owner of the agent-enforced policy:policyBody(String policyBody) Specifies the policy document, in JSON format, that defines the enforced policy.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
-
id
The identifier of the agent-enforced policy.
- Parameters:
id- The identifier of the agent-enforced policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the agent-enforced policy.
- Parameters:
name- The name of the agent-enforced policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyBody
Specifies the policy document, in JSON format, that defines the enforced policy. It can be up to 65,536 characters long.
- Parameters:
policyBody- Specifies the policy document, in JSON format, that defines the enforced policy. It can be up to 65,536 characters long.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time when the agent-enforced policy was created.
- Parameters:
createdAt- The time when the agent-enforced policy was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
The owner of the agent-enforced policy:
-
SELF– Your account owns the policy. -
AMAZON– Amazon owns the policy. You can use it, but you can't change or delete it.
- Parameters:
owner- The owner of the agent-enforced policy:-
SELF– Your account owns the policy. -
AMAZON– Amazon owns the policy. You can use it, but you can't change or delete it.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
owner
The owner of the agent-enforced policy:
-
SELF– Your account owns the policy. -
AMAZON– Amazon owns the policy. You can use it, but you can't change or delete it.
- Parameters:
owner- The owner of the agent-enforced policy:-
SELF– Your account owns the policy. -
AMAZON– Amazon owns the policy. You can use it, but you can't change or delete it.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-