Interface MachineImageDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MachineImageDetails.Builder,,MachineImageDetails> SdkBuilder<MachineImageDetails.Builder,,MachineImageDetails> SdkPojo
- Enclosing class:
MachineImageDetails
@Mutable
@NotThreadSafe
public static interface MachineImageDetails.Builder
extends SdkPojo, CopyableBuilder<MachineImageDetails.Builder,MachineImageDetails>
-
Method Summary
Modifier and TypeMethodDescriptionarchitecture(String architecture) CPU architecture (x86_64/arm64)architecture(Architecture architecture) CPU architecture (x86_64/arm64)creationDate(Instant creationDate) When the image was createdWhether the image is publicly sharedmachineImageId(String machineImageId) The machine image ID (e.g., ami-0abcdef1234567890)Human-readable image nameownerAccountId(String ownerAccountId) Account ID that owns the imageOS platform (Linux/Windows)rootDeviceType(String rootDeviceType) Root device type (ebs/instance-store) — AWS-specificsourceResourceId(String sourceResourceId) Source resource the image was created from (nullable)Image state (available/pending/deregistered)virtualizationType(String virtualizationType) Virtualization type (hvm/paravirtual) — AWS-specificMethods 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
-
machineImageId
The machine image ID (e.g., ami-0abcdef1234567890)
- Parameters:
machineImageId- The machine image ID (e.g., ami-0abcdef1234567890)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Human-readable image name
- Parameters:
name- Human-readable image name- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccountId
Account ID that owns the image
- Parameters:
ownerAccountId- Account ID that owns the image- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
OS platform (Linux/Windows)
- Parameters:
platform- OS platform (Linux/Windows)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecture
CPU architecture (x86_64/arm64)
- Parameters:
architecture- CPU architecture (x86_64/arm64)- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
architecture
CPU architecture (x86_64/arm64)
- Parameters:
architecture- CPU architecture (x86_64/arm64)- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDate
When the image was created
- Parameters:
creationDate- When the image was created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Image state (available/pending/deregistered)
- Parameters:
state- Image state (available/pending/deregistered)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPublic
Whether the image is publicly shared
- Parameters:
isPublic- Whether the image is publicly shared- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootDeviceType
Root device type (ebs/instance-store) — AWS-specific
- Parameters:
rootDeviceType- Root device type (ebs/instance-store) — AWS-specific- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualizationType
Virtualization type (hvm/paravirtual) — AWS-specific
- Parameters:
virtualizationType- Virtualization type (hvm/paravirtual) — AWS-specific- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceResourceId
Source resource the image was created from (nullable)
- Parameters:
sourceResourceId- Source resource the image was created from (nullable)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-