Interface DeleteSnapshotReturnCode.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeleteSnapshotReturnCode.Builder,,DeleteSnapshotReturnCode> SdkBuilder<DeleteSnapshotReturnCode.Builder,,DeleteSnapshotReturnCode> SdkPojo
- Enclosing class:
- DeleteSnapshotReturnCode
-
Method Summary
Modifier and TypeMethodDescriptionreturnCode(String returnCode) The result code from the snapshot deletion attempt.returnCode(SnapshotReturnCodes returnCode) The result code from the snapshot deletion attempt.snapshotId(String snapshotId) The ID of the snapshot.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
-
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
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:
-
-
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:
-
-