Interface StreamingImage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StreamingImage.Builder,StreamingImage>,SdkBuilder<StreamingImage.Builder,StreamingImage>,SdkPojo
- Enclosing class:
- StreamingImage
public static interface StreamingImage.Builder extends SdkPojo, CopyableBuilder<StreamingImage.Builder,StreamingImage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StreamingImage.Builderarn(String arn)The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it.StreamingImage.Builderdescription(String description)A human-readable description of the streaming image.StreamingImage.Builderec2ImageId(String ec2ImageId)The ID of an EC2 machine image with which to create the streaming image.default StreamingImage.BuilderencryptionConfiguration(Consumer<StreamingImageEncryptionConfiguration.Builder> encryptionConfiguration)The encryption configuration.StreamingImage.BuilderencryptionConfiguration(StreamingImageEncryptionConfiguration encryptionConfiguration)The encryption configuration.StreamingImage.BuildereulaIds(String... eulaIds)The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.StreamingImage.BuildereulaIds(Collection<String> eulaIds)The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.StreamingImage.Buildername(String name)A friendly name for a streaming image resource.StreamingImage.Builderowner(String owner)The owner of the streaming image, either thestudioIdthat contains the streaming image, oramazonfor images that are provided by Amazon Nimble Studio.StreamingImage.Builderplatform(String platform)The platform of the streaming image, either Windows or Linux.StreamingImage.Builderstate(String state)The current state.StreamingImage.Builderstate(StreamingImageState state)The current state.StreamingImage.BuilderstatusCode(String statusCodeValue)The status code.StreamingImage.BuilderstatusCode(StreamingImageStatusCode statusCodeValue)The status code.StreamingImage.BuilderstatusMessage(String statusMessage)The status message for the streaming image.StreamingImage.BuilderstreamingImageId(String streamingImageId)The ID of the streaming image.StreamingImage.Buildertags(Map<String,String> tags)A collection of labels, in the form of key-value pairs, that apply to this resource.-
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 Detail
-
arn
StreamingImage.Builder arn(String arn)
The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.
- Parameters:
arn- The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
StreamingImage.Builder description(String description)
A human-readable description of the streaming image.
- Parameters:
description- A human-readable description of the streaming image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2ImageId
StreamingImage.Builder ec2ImageId(String ec2ImageId)
The ID of an EC2 machine image with which to create the streaming image.
- Parameters:
ec2ImageId- The ID of an EC2 machine image with which to create the streaming image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
StreamingImage.Builder encryptionConfiguration(StreamingImageEncryptionConfiguration encryptionConfiguration)
The encryption configuration.
- Parameters:
encryptionConfiguration- The encryption configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default StreamingImage.Builder encryptionConfiguration(Consumer<StreamingImageEncryptionConfiguration.Builder> encryptionConfiguration)
The encryption configuration.
This is a convenience method that creates an instance of theStreamingImageEncryptionConfiguration.Builderavoiding the need to create one manually viaStreamingImageEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(StreamingImageEncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onStreamingImageEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryptionConfiguration(StreamingImageEncryptionConfiguration)
-
eulaIds
StreamingImage.Builder eulaIds(Collection<String> eulaIds)
The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.
- Parameters:
eulaIds- The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eulaIds
StreamingImage.Builder eulaIds(String... eulaIds)
The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.
- Parameters:
eulaIds- The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
StreamingImage.Builder name(String name)
A friendly name for a streaming image resource.
- Parameters:
name- A friendly name for a streaming image resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
StreamingImage.Builder owner(String owner)
The owner of the streaming image, either the
studioIdthat contains the streaming image, oramazonfor images that are provided by Amazon Nimble Studio.- Parameters:
owner- The owner of the streaming image, either thestudioIdthat contains the streaming image, oramazonfor images that are provided by Amazon Nimble Studio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
StreamingImage.Builder platform(String platform)
The platform of the streaming image, either Windows or Linux.
- Parameters:
platform- The platform of the streaming image, either Windows or Linux.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
StreamingImage.Builder state(String state)
The current state.
- Parameters:
state- The current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StreamingImageState,StreamingImageState
-
state
StreamingImage.Builder state(StreamingImageState state)
The current state.
- Parameters:
state- The current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StreamingImageState,StreamingImageState
-
statusCode
StreamingImage.Builder statusCode(String statusCodeValue)
The status code.
- Parameters:
statusCodeValue- The status code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StreamingImageStatusCode,StreamingImageStatusCode
-
statusCode
StreamingImage.Builder statusCode(StreamingImageStatusCode statusCodeValue)
The status code.
- Parameters:
statusCodeValue- The status code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StreamingImageStatusCode,StreamingImageStatusCode
-
statusMessage
StreamingImage.Builder statusMessage(String statusMessage)
The status message for the streaming image.
- Parameters:
statusMessage- The status message for the streaming image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamingImageId
StreamingImage.Builder streamingImageId(String streamingImageId)
The ID of the streaming image.
- Parameters:
streamingImageId- The ID of the streaming image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
StreamingImage.Builder tags(Map<String,String> tags)
A collection of labels, in the form of key-value pairs, that apply to this resource.
- Parameters:
tags- A collection of labels, in the form of key-value pairs, that apply to this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-