Interface EbsSnapshotConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EbsSnapshotConfiguration.Builder,
,EbsSnapshotConfiguration> SdkBuilder<EbsSnapshotConfiguration.Builder,
,EbsSnapshotConfiguration> SdkPojo
- Enclosing class:
EbsSnapshotConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe groups that have access to the Amazon EBS volume snapshot.groups
(Collection<String> groups) The groups that have access to the Amazon EBS volume snapshot.The KMS key identifier for an encrypted Amazon EBS volume snapshot.The IDs of the Amazon Web Services accounts that have access to the Amazon EBS volume snapshot.userIds
(Collection<String> userIds) The IDs of the Amazon Web Services accounts that have access to the Amazon EBS volume snapshot.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 Details
-
userIds
The IDs of the Amazon Web Services accounts that have access to the Amazon EBS volume snapshot.
-
If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the
userIds
, then the access preview uses the existing shareduserIds
for the snapshot. -
If the access preview is for a new resource and you do not specify the
userIds
, then the access preview considers the snapshot without anyuserIds
. -
To propose deletion of existing shared
accountIds
, you can specify an empty list foruserIds
.
- Parameters:
userIds
- The IDs of the Amazon Web Services accounts that have access to the Amazon EBS volume snapshot.-
If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the
userIds
, then the access preview uses the existing shareduserIds
for the snapshot. -
If the access preview is for a new resource and you do not specify the
userIds
, then the access preview considers the snapshot without anyuserIds
. -
To propose deletion of existing shared
accountIds
, you can specify an empty list foruserIds
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
userIds
The IDs of the Amazon Web Services accounts that have access to the Amazon EBS volume snapshot.
-
If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the
userIds
, then the access preview uses the existing shareduserIds
for the snapshot. -
If the access preview is for a new resource and you do not specify the
userIds
, then the access preview considers the snapshot without anyuserIds
. -
To propose deletion of existing shared
accountIds
, you can specify an empty list foruserIds
.
- Parameters:
userIds
- The IDs of the Amazon Web Services accounts that have access to the Amazon EBS volume snapshot.-
If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the
userIds
, then the access preview uses the existing shareduserIds
for the snapshot. -
If the access preview is for a new resource and you do not specify the
userIds
, then the access preview considers the snapshot without anyuserIds
. -
To propose deletion of existing shared
accountIds
, you can specify an empty list foruserIds
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
groups
The groups that have access to the Amazon EBS volume snapshot. If the value
all
is specified, then the Amazon EBS volume snapshot is public.-
If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the
groups
, then the access preview uses the existing sharedgroups
for the snapshot. -
If the access preview is for a new resource and you do not specify the
groups
, then the access preview considers the snapshot without anygroups
. -
To propose deletion of existing shared
groups
, you can specify an empty list forgroups
.
- Parameters:
groups
- The groups that have access to the Amazon EBS volume snapshot. If the valueall
is specified, then the Amazon EBS volume snapshot is public.-
If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the
groups
, then the access preview uses the existing sharedgroups
for the snapshot. -
If the access preview is for a new resource and you do not specify the
groups
, then the access preview considers the snapshot without anygroups
. -
To propose deletion of existing shared
groups
, you can specify an empty list forgroups
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
groups
The groups that have access to the Amazon EBS volume snapshot. If the value
all
is specified, then the Amazon EBS volume snapshot is public.-
If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the
groups
, then the access preview uses the existing sharedgroups
for the snapshot. -
If the access preview is for a new resource and you do not specify the
groups
, then the access preview considers the snapshot without anygroups
. -
To propose deletion of existing shared
groups
, you can specify an empty list forgroups
.
- Parameters:
groups
- The groups that have access to the Amazon EBS volume snapshot. If the valueall
is specified, then the Amazon EBS volume snapshot is public.-
If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the
groups
, then the access preview uses the existing sharedgroups
for the snapshot. -
If the access preview is for a new resource and you do not specify the
groups
, then the access preview considers the snapshot without anygroups
. -
To propose deletion of existing shared
groups
, you can specify an empty list forgroups
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
kmsKeyId
The KMS key identifier for an encrypted Amazon EBS volume snapshot. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
-
If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. -
If the access preview is for a new resource and you do not specify the
kmsKeyId
, the access preview considers the snapshot as unencrypted.
- Parameters:
kmsKeyId
- The KMS key identifier for an encrypted Amazon EBS volume snapshot. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.-
If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. -
If the access preview is for a new resource and you do not specify the
kmsKeyId
, the access preview considers the snapshot as unencrypted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-