Interface InstanceSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceSpecification.Builder,
,InstanceSpecification> SdkBuilder<InstanceSpecification.Builder,
,InstanceSpecification> SdkPojo
- Enclosing class:
InstanceSpecification
public static interface InstanceSpecification.Builder
extends SdkPojo, CopyableBuilder<InstanceSpecification.Builder,InstanceSpecification>
-
Method Summary
Modifier and TypeMethodDescriptionexcludeBootVolume
(Boolean excludeBootVolume) Excludes the root volume from being snapshotted.excludeDataVolumeIds
(String... excludeDataVolumeIds) The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set.excludeDataVolumeIds
(Collection<String> excludeDataVolumeIds) The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set.instanceId
(String instanceId) The instance to specify which volumes should be snapshotted.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, sdkFields
-
Method Details
-
instanceId
The instance to specify which volumes should be snapshotted.
- Parameters:
instanceId
- The instance to specify which volumes should be snapshotted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeBootVolume
Excludes the root volume from being snapshotted.
- Parameters:
excludeBootVolume
- Excludes the root volume from being snapshotted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeDataVolumeIds
The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.
You can specify up to 40 volume IDs per request.
- Parameters:
excludeDataVolumeIds
- The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.You can specify up to 40 volume IDs per request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeDataVolumeIds
The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.
You can specify up to 40 volume IDs per request.
- Parameters:
excludeDataVolumeIds
- The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.You can specify up to 40 volume IDs per request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-