@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEnvironmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEnvironmentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEnvironmentRequest |
addDeviceCreationTagsEntry(String key,
String value)
Add a single DeviceCreationTags entry
|
CreateEnvironmentRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateEnvironmentRequest |
clearDeviceCreationTagsEntries()
Removes all the entries added into DeviceCreationTags.
|
CreateEnvironmentRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateEnvironmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getDesiredSoftwareSetId()
The ID of the software set to apply.
|
String |
getDesktopArn()
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
|
String |
getDesktopEndpoint()
The URL for the identity provider login (only for environments that use AppStream 2.0).
|
Map<String,String> |
getDeviceCreationTags()
A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.
|
MaintenanceWindow |
getMaintenanceWindow()
A specification for a time window to apply software updates.
|
String |
getName()
The name for the environment.
|
String |
getSoftwareSetUpdateMode()
An option to define which software updates to apply.
|
String |
getSoftwareSetUpdateSchedule()
An option to define if software updates should be applied within a maintenance window.
|
Map<String,String> |
getTags()
A map of the key-value pairs of the tag or tags to assign to the resource.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set to apply.
|
void |
setDesktopArn(String desktopArn)
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
|
void |
setDesktopEndpoint(String desktopEndpoint)
The URL for the identity provider login (only for environments that use AppStream 2.0).
|
void |
setDeviceCreationTags(Map<String,String> deviceCreationTags)
A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.
|
void |
setMaintenanceWindow(MaintenanceWindow maintenanceWindow)
A specification for a time window to apply software updates.
|
void |
setName(String name)
The name for the environment.
|
void |
setSoftwareSetUpdateMode(String softwareSetUpdateMode)
An option to define which software updates to apply.
|
void |
setSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
|
void |
setTags(Map<String,String> tags)
A map of the key-value pairs of the tag or tags to assign to the resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateEnvironmentRequest |
withClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateEnvironmentRequest |
withDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set to apply.
|
CreateEnvironmentRequest |
withDesktopArn(String desktopArn)
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
|
CreateEnvironmentRequest |
withDesktopEndpoint(String desktopEndpoint)
The URL for the identity provider login (only for environments that use AppStream 2.0).
|
CreateEnvironmentRequest |
withDeviceCreationTags(Map<String,String> deviceCreationTags)
A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment.
|
CreateEnvironmentRequest |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.
|
CreateEnvironmentRequest |
withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
A specification for a time window to apply software updates.
|
CreateEnvironmentRequest |
withName(String name)
The name for the environment.
|
CreateEnvironmentRequest |
withSoftwareSetUpdateMode(SoftwareSetUpdateMode softwareSetUpdateMode)
An option to define which software updates to apply.
|
CreateEnvironmentRequest |
withSoftwareSetUpdateMode(String softwareSetUpdateMode)
An option to define which software updates to apply.
|
CreateEnvironmentRequest |
withSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
|
CreateEnvironmentRequest |
withSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
|
CreateEnvironmentRequest |
withTags(Map<String,String> tags)
A map of the key-value pairs of the tag or tags to assign to the resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name for the environment.
name
- The name for the environment.public String getName()
The name for the environment.
public CreateEnvironmentRequest withName(String name)
The name for the environment.
name
- The name for the environment.public void setDesktopArn(String desktopArn)
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
desktopArn
- The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or
AppStream 2.0.public String getDesktopArn()
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
public CreateEnvironmentRequest withDesktopArn(String desktopArn)
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
desktopArn
- The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or
AppStream 2.0.public void setDesktopEndpoint(String desktopEndpoint)
The URL for the identity provider login (only for environments that use AppStream 2.0).
desktopEndpoint
- The URL for the identity provider login (only for environments that use AppStream 2.0).public String getDesktopEndpoint()
The URL for the identity provider login (only for environments that use AppStream 2.0).
public CreateEnvironmentRequest withDesktopEndpoint(String desktopEndpoint)
The URL for the identity provider login (only for environments that use AppStream 2.0).
desktopEndpoint
- The URL for the identity provider login (only for environments that use AppStream 2.0).public void setSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
softwareSetUpdateSchedule
- An option to define if software updates should be applied within a maintenance window.SoftwareSetUpdateSchedule
public String getSoftwareSetUpdateSchedule()
An option to define if software updates should be applied within a maintenance window.
SoftwareSetUpdateSchedule
public CreateEnvironmentRequest withSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
softwareSetUpdateSchedule
- An option to define if software updates should be applied within a maintenance window.SoftwareSetUpdateSchedule
public CreateEnvironmentRequest withSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
softwareSetUpdateSchedule
- An option to define if software updates should be applied within a maintenance window.SoftwareSetUpdateSchedule
public void setMaintenanceWindow(MaintenanceWindow maintenanceWindow)
A specification for a time window to apply software updates.
maintenanceWindow
- A specification for a time window to apply software updates.public MaintenanceWindow getMaintenanceWindow()
A specification for a time window to apply software updates.
public CreateEnvironmentRequest withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
A specification for a time window to apply software updates.
maintenanceWindow
- A specification for a time window to apply software updates.public void setSoftwareSetUpdateMode(String softwareSetUpdateMode)
An option to define which software updates to apply.
softwareSetUpdateMode
- An option to define which software updates to apply.SoftwareSetUpdateMode
public String getSoftwareSetUpdateMode()
An option to define which software updates to apply.
SoftwareSetUpdateMode
public CreateEnvironmentRequest withSoftwareSetUpdateMode(String softwareSetUpdateMode)
An option to define which software updates to apply.
softwareSetUpdateMode
- An option to define which software updates to apply.SoftwareSetUpdateMode
public CreateEnvironmentRequest withSoftwareSetUpdateMode(SoftwareSetUpdateMode softwareSetUpdateMode)
An option to define which software updates to apply.
softwareSetUpdateMode
- An option to define which software updates to apply.SoftwareSetUpdateMode
public void setDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set to apply.
desiredSoftwareSetId
- The ID of the software set to apply.public String getDesiredSoftwareSetId()
The ID of the software set to apply.
public CreateEnvironmentRequest withDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set to apply.
desiredSoftwareSetId
- The ID of the software set to apply.public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.
kmsKeyArn
- The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.
public CreateEnvironmentRequest withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.
kmsKeyArn
- The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.public void setClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails
with an IdempotentParameterMismatch
error.
clientToken
- Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This lets you safely retry the request without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you also pass the same value for all
other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the
retry fails with an IdempotentParameterMismatch
error.
public String getClientToken()
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails
with an IdempotentParameterMismatch
error.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the
retry fails with an IdempotentParameterMismatch
error.
public CreateEnvironmentRequest withClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails
with an IdempotentParameterMismatch
error.
clientToken
- Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This lets you safely retry the request without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you also pass the same value for all
other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the
retry fails with an IdempotentParameterMismatch
error.
public Map<String,String> getTags()
A map of the key-value pairs of the tag or tags to assign to the resource.
public void setTags(Map<String,String> tags)
A map of the key-value pairs of the tag or tags to assign to the resource.
tags
- A map of the key-value pairs of the tag or tags to assign to the resource.public CreateEnvironmentRequest withTags(Map<String,String> tags)
A map of the key-value pairs of the tag or tags to assign to the resource.
tags
- A map of the key-value pairs of the tag or tags to assign to the resource.public CreateEnvironmentRequest addTagsEntry(String key, String value)
public CreateEnvironmentRequest clearTagsEntries()
public Map<String,String> getDeviceCreationTags()
A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment.
public void setDeviceCreationTags(Map<String,String> deviceCreationTags)
A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment.
deviceCreationTags
- A map of the key-value pairs of the tag or tags to assign to the newly created devices for this
environment.public CreateEnvironmentRequest withDeviceCreationTags(Map<String,String> deviceCreationTags)
A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment.
deviceCreationTags
- A map of the key-value pairs of the tag or tags to assign to the newly created devices for this
environment.public CreateEnvironmentRequest addDeviceCreationTagsEntry(String key, String value)
public CreateEnvironmentRequest clearDeviceCreationTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateEnvironmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()