Interface DeleteSnapshotReturnCode.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeleteSnapshotReturnCode.Builder,DeleteSnapshotReturnCode>,SdkBuilder<DeleteSnapshotReturnCode.Builder,DeleteSnapshotReturnCode>,SdkPojo
- Enclosing class:
- DeleteSnapshotReturnCode
@Mutable @NotThreadSafe public static interface DeleteSnapshotReturnCode.Builder extends SdkPojo, CopyableBuilder<DeleteSnapshotReturnCode.Builder,DeleteSnapshotReturnCode>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteSnapshotReturnCode.BuilderreturnCode(String returnCode)The result code from the snapshot deletion attempt.DeleteSnapshotReturnCode.BuilderreturnCode(SnapshotReturnCodes returnCode)The result code from the snapshot deletion attempt.DeleteSnapshotReturnCode.BuildersnapshotId(String snapshotId)The ID of the 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 Detail
-
snapshotId
DeleteSnapshotReturnCode.Builder snapshotId(String snapshotId)
The ID of the snapshot.
- Parameters:
snapshotId- The ID of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnCode
DeleteSnapshotReturnCode.Builder returnCode(String returnCode)
The result code from the snapshot deletion attempt. Possible values:
-
success- The snapshot was successfully deleted. -
skipped- The snapshot was not deleted because it's associated with other AMIs. -
missing-permissions- The snapshot was not deleted because the role lacksDeleteSnapshotpermissions. For more information, see How Amazon EBS works with IAM. -
internal-error- The snapshot was not deleted due to a server error. -
client-error- The snapshot was not deleted due to a client configuration error.
For details about an error, check the
DeleteSnapshotevent in the CloudTrail event history. For more information, see View event history in the Amazon Web Services CloudTrail User Guide.- Parameters:
returnCode- The result code from the snapshot deletion attempt. Possible values:-
success- The snapshot was successfully deleted. -
skipped- The snapshot was not deleted because it's associated with other AMIs. -
missing-permissions- The snapshot was not deleted because the role lacksDeleteSnapshotpermissions. For more information, see How Amazon EBS works with IAM. -
internal-error- The snapshot was not deleted due to a server error. -
client-error- The snapshot was not deleted due to a client configuration error.
For details about an error, check the
DeleteSnapshotevent in the CloudTrail event history. For more information, see View event history in the Amazon Web Services CloudTrail User Guide.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SnapshotReturnCodes,SnapshotReturnCodes
-
-
returnCode
DeleteSnapshotReturnCode.Builder returnCode(SnapshotReturnCodes returnCode)
The result code from the snapshot deletion attempt. Possible values:
-
success- The snapshot was successfully deleted. -
skipped- The snapshot was not deleted because it's associated with other AMIs. -
missing-permissions- The snapshot was not deleted because the role lacksDeleteSnapshotpermissions. For more information, see How Amazon EBS works with IAM. -
internal-error- The snapshot was not deleted due to a server error. -
client-error- The snapshot was not deleted due to a client configuration error.
For details about an error, check the
DeleteSnapshotevent in the CloudTrail event history. For more information, see View event history in the Amazon Web Services CloudTrail User Guide.- Parameters:
returnCode- The result code from the snapshot deletion attempt. Possible values:-
success- The snapshot was successfully deleted. -
skipped- The snapshot was not deleted because it's associated with other AMIs. -
missing-permissions- The snapshot was not deleted because the role lacksDeleteSnapshotpermissions. For more information, see How Amazon EBS works with IAM. -
internal-error- The snapshot was not deleted due to a server error. -
client-error- The snapshot was not deleted due to a client configuration error.
For details about an error, check the
DeleteSnapshotevent in the CloudTrail event history. For more information, see View event history in the Amazon Web Services CloudTrail User Guide.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SnapshotReturnCodes,SnapshotReturnCodes
-
-
-