Interface AmazonMachineImageFulfillmentOption.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AmazonMachineImageFulfillmentOption.Builder,,AmazonMachineImageFulfillmentOption> SdkBuilder<AmazonMachineImageFulfillmentOption.Builder,,AmazonMachineImageFulfillmentOption> SdkPojo
- Enclosing class:
AmazonMachineImageFulfillmentOption
-
Method Summary
Modifier and TypeMethodDescriptionfulfillmentOptionDisplayName(String fulfillmentOptionDisplayName) A human-readable name for the fulfillment option type.fulfillmentOptionId(String fulfillmentOptionId) The unique identifier of the fulfillment option.fulfillmentOptionName(String fulfillmentOptionName) The display name of the fulfillment option version.fulfillmentOptionType(String fulfillmentOptionType) The category of the fulfillment option.fulfillmentOptionType(FulfillmentOptionType fulfillmentOptionType) The category of the fulfillment option.fulfillmentOptionVersion(String fulfillmentOptionVersion) The version identifier of the fulfillment option.operatingSystems(Collection<AmazonMachineImageOperatingSystem> operatingSystems) The operating systems supported by this AMI.operatingSystems(Consumer<AmazonMachineImageOperatingSystem.Builder>... operatingSystems) The operating systems supported by this AMI.operatingSystems(AmazonMachineImageOperatingSystem... operatingSystems) The operating systems supported by this AMI.recommendation(Consumer<AmazonMachineImageRecommendation.Builder> recommendation) Recommended instance types for running this AMI.recommendation(AmazonMachineImageRecommendation recommendation) Recommended instance types for running this AMI.releaseNotes(String releaseNotes) Release notes describing changes in this version of the fulfillment option.usageInstructions(String usageInstructions) Instructions on how to deploy and use this fulfillment option.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
-
fulfillmentOptionId
The unique identifier of the fulfillment option.
- Parameters:
fulfillmentOptionId- The unique identifier of the fulfillment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fulfillmentOptionName
The display name of the fulfillment option version.
- Parameters:
fulfillmentOptionName- The display name of the fulfillment option version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fulfillmentOptionVersion
AmazonMachineImageFulfillmentOption.Builder fulfillmentOptionVersion(String fulfillmentOptionVersion) The version identifier of the fulfillment option.
- Parameters:
fulfillmentOptionVersion- The version identifier of the fulfillment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fulfillmentOptionType
The category of the fulfillment option.
- Parameters:
fulfillmentOptionType- The category of the fulfillment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fulfillmentOptionType
AmazonMachineImageFulfillmentOption.Builder fulfillmentOptionType(FulfillmentOptionType fulfillmentOptionType) The category of the fulfillment option.
- Parameters:
fulfillmentOptionType- The category of the fulfillment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fulfillmentOptionDisplayName
AmazonMachineImageFulfillmentOption.Builder fulfillmentOptionDisplayName(String fulfillmentOptionDisplayName) A human-readable name for the fulfillment option type.
- Parameters:
fulfillmentOptionDisplayName- A human-readable name for the fulfillment option type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystems
AmazonMachineImageFulfillmentOption.Builder operatingSystems(Collection<AmazonMachineImageOperatingSystem> operatingSystems) The operating systems supported by this AMI.
- Parameters:
operatingSystems- The operating systems supported by this AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystems
AmazonMachineImageFulfillmentOption.Builder operatingSystems(AmazonMachineImageOperatingSystem... operatingSystems) The operating systems supported by this AMI.
- Parameters:
operatingSystems- The operating systems supported by this AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystems
AmazonMachineImageFulfillmentOption.Builder operatingSystems(Consumer<AmazonMachineImageOperatingSystem.Builder>... operatingSystems) The operating systems supported by this AMI.
This is a convenience method that creates an instance of theAmazonMachineImageOperatingSystem.Builderavoiding the need to create one manually viaAmazonMachineImageOperatingSystem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperatingSystems(List<AmazonMachineImageOperatingSystem>).- Parameters:
operatingSystems- a consumer that will call methods onAmazonMachineImageOperatingSystem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendation
AmazonMachineImageFulfillmentOption.Builder recommendation(AmazonMachineImageRecommendation recommendation) Recommended instance types for running this AMI.
- Parameters:
recommendation- Recommended instance types for running this AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
default AmazonMachineImageFulfillmentOption.Builder recommendation(Consumer<AmazonMachineImageRecommendation.Builder> recommendation) Recommended instance types for running this AMI.
This is a convenience method that creates an instance of theAmazonMachineImageRecommendation.Builderavoiding the need to create one manually viaAmazonMachineImageRecommendation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendation(AmazonMachineImageRecommendation).- Parameters:
recommendation- a consumer that will call methods onAmazonMachineImageRecommendation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
releaseNotes
Release notes describing changes in this version of the fulfillment option.
- Parameters:
releaseNotes- Release notes describing changes in this version of the fulfillment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageInstructions
Instructions on how to deploy and use this fulfillment option.
- Parameters:
usageInstructions- Instructions on how to deploy and use this fulfillment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-