Interface Permission.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Permission.Builder,Permission>,SdkBuilder<Permission.Builder,Permission>,SdkPojo
- Enclosing class:
- Permission
public static interface Permission.Builder extends SdkPojo, CopyableBuilder<Permission.Builder,Permission>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Permission.Builderactions(Collection<ActionType> actions)The private CA actions that can be performed by the designated Amazon Web Services service.Permission.Builderactions(ActionType... actions)The private CA actions that can be performed by the designated Amazon Web Services service.Permission.BuilderactionsWithStrings(String... actions)The private CA actions that can be performed by the designated Amazon Web Services service.Permission.BuilderactionsWithStrings(Collection<String> actions)The private CA actions that can be performed by the designated Amazon Web Services service.Permission.BuildercertificateAuthorityArn(String certificateAuthorityArn)The Amazon Resource Number (ARN) of the private CA from which the permission was issued.Permission.BuildercreatedAt(Instant createdAt)The time at which the permission was created.Permission.Builderpolicy(String policy)The name of the policy that is associated with the permission.Permission.Builderprincipal(String principal)The Amazon Web Services service or entity that holds the permission.Permission.BuildersourceAccount(String sourceAccount)The ID of the account that assigned the permission.-
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
-
certificateAuthorityArn
Permission.Builder certificateAuthorityArn(String certificateAuthorityArn)
The Amazon Resource Number (ARN) of the private CA from which the permission was issued.
- Parameters:
certificateAuthorityArn- The Amazon Resource Number (ARN) of the private CA from which the permission was issued.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Permission.Builder createdAt(Instant createdAt)
The time at which the permission was created.
- Parameters:
createdAt- The time at which the permission was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
Permission.Builder principal(String principal)
The Amazon Web Services service or entity that holds the permission. At this time, the only valid principal is
acm.amazonaws.com.- Parameters:
principal- The Amazon Web Services service or entity that holds the permission. At this time, the only valid principal isacm.amazonaws.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAccount
Permission.Builder sourceAccount(String sourceAccount)
The ID of the account that assigned the permission.
- Parameters:
sourceAccount- The ID of the account that assigned the permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsWithStrings
Permission.Builder actionsWithStrings(Collection<String> actions)
The private CA actions that can be performed by the designated Amazon Web Services service.
- Parameters:
actions- The private CA actions that can be performed by the designated Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsWithStrings
Permission.Builder actionsWithStrings(String... actions)
The private CA actions that can be performed by the designated Amazon Web Services service.
- Parameters:
actions- The private CA actions that can be performed by the designated Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Permission.Builder actions(Collection<ActionType> actions)
The private CA actions that can be performed by the designated Amazon Web Services service.
- Parameters:
actions- The private CA actions that can be performed by the designated Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Permission.Builder actions(ActionType... actions)
The private CA actions that can be performed by the designated Amazon Web Services service.
- Parameters:
actions- The private CA actions that can be performed by the designated Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
Permission.Builder policy(String policy)
The name of the policy that is associated with the permission.
- Parameters:
policy- The name of the policy that is associated with the permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-