@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Environment extends Object implements Serializable, Cloneable, StructuredPojo
Describes an environment.
Constructor and Description |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
Environment |
addDeviceCreationTagsEntry(String key,
String value)
Add a single DeviceCreationTags entry
|
Environment |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Environment |
clearDeviceCreationTagsEntries()
Removes all the entries added into DeviceCreationTags.
|
Environment |
clearTagsEntries()
Removes all the entries added into Tags.
|
Environment |
clone() |
boolean |
equals(Object obj) |
String |
getActivationCode()
The activation code to register a device to the environment.
|
String |
getArn()
The Amazon Resource Name (ARN) of the environment.
|
Date |
getCreatedAt()
The timestamp of when the environment was created.
|
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).
|
String |
getDesktopType()
The type of streaming desktop for the environment.
|
Map<String,String> |
getDeviceCreationTags()
The tag keys and optional values for the newly created devices for this environment.
|
String |
getId()
The ID of the environment.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.
|
MaintenanceWindow |
getMaintenanceWindow()
A specification for a time window to apply software updates.
|
String |
getName()
The name of the environment.
|
String |
getPendingSoftwareSetId()
The ID of the software set that is pending to be installed.
|
String |
getPendingSoftwareSetVersion()
The version of the software set that is pending to be installed.
|
Integer |
getRegisteredDevicesCount()
The number of devices registered to the environment.
|
String |
getSoftwareSetComplianceStatus()
Describes if the software currently installed on all devices in the environment is a supported version.
|
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()
The tag keys and optional values for the resource.
|
Date |
getUpdatedAt()
The timestamp of when the device was updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActivationCode(String activationCode)
The activation code to register a device to the environment.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the environment.
|
void |
setCreatedAt(Date createdAt)
The timestamp of when the environment was created.
|
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 |
setDesktopType(String desktopType)
The type of streaming desktop for the environment.
|
void |
setDeviceCreationTags(Map<String,String> deviceCreationTags)
The tag keys and optional values for the newly created devices for this environment.
|
void |
setId(String id)
The ID of the environment.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.
|
void |
setMaintenanceWindow(MaintenanceWindow maintenanceWindow)
A specification for a time window to apply software updates.
|
void |
setName(String name)
The name of the environment.
|
void |
setPendingSoftwareSetId(String pendingSoftwareSetId)
The ID of the software set that is pending to be installed.
|
void |
setPendingSoftwareSetVersion(String pendingSoftwareSetVersion)
The version of the software set that is pending to be installed.
|
void |
setRegisteredDevicesCount(Integer registeredDevicesCount)
The number of devices registered to the environment.
|
void |
setSoftwareSetComplianceStatus(String softwareSetComplianceStatus)
Describes if the software currently installed on all devices in the environment is a supported version.
|
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)
The tag keys and optional values for the resource.
|
void |
setUpdatedAt(Date updatedAt)
The timestamp of when the device was updated.
|
String |
toString()
Returns a string representation of this object.
|
Environment |
withActivationCode(String activationCode)
The activation code to register a device to the environment.
|
Environment |
withArn(String arn)
The Amazon Resource Name (ARN) of the environment.
|
Environment |
withCreatedAt(Date createdAt)
The timestamp of when the environment was created.
|
Environment |
withDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set to apply.
|
Environment |
withDesktopArn(String desktopArn)
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
|
Environment |
withDesktopEndpoint(String desktopEndpoint)
The URL for the identity provider login (only for environments that use AppStream 2.0).
|
Environment |
withDesktopType(DesktopType desktopType)
The type of streaming desktop for the environment.
|
Environment |
withDesktopType(String desktopType)
The type of streaming desktop for the environment.
|
Environment |
withDeviceCreationTags(Map<String,String> deviceCreationTags)
The tag keys and optional values for the newly created devices for this environment.
|
Environment |
withId(String id)
The ID of the environment.
|
Environment |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.
|
Environment |
withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
A specification for a time window to apply software updates.
|
Environment |
withName(String name)
The name of the environment.
|
Environment |
withPendingSoftwareSetId(String pendingSoftwareSetId)
The ID of the software set that is pending to be installed.
|
Environment |
withPendingSoftwareSetVersion(String pendingSoftwareSetVersion)
The version of the software set that is pending to be installed.
|
Environment |
withRegisteredDevicesCount(Integer registeredDevicesCount)
The number of devices registered to the environment.
|
Environment |
withSoftwareSetComplianceStatus(EnvironmentSoftwareSetComplianceStatus softwareSetComplianceStatus)
Describes if the software currently installed on all devices in the environment is a supported version.
|
Environment |
withSoftwareSetComplianceStatus(String softwareSetComplianceStatus)
Describes if the software currently installed on all devices in the environment is a supported version.
|
Environment |
withSoftwareSetUpdateMode(SoftwareSetUpdateMode softwareSetUpdateMode)
An option to define which software updates to apply.
|
Environment |
withSoftwareSetUpdateMode(String softwareSetUpdateMode)
An option to define which software updates to apply.
|
Environment |
withSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
|
Environment |
withSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
|
Environment |
withTags(Map<String,String> tags)
The tag keys and optional values for the resource.
|
Environment |
withUpdatedAt(Date updatedAt)
The timestamp of when the device was updated.
|
public void setId(String id)
The ID of the environment.
id
- The ID of the environment.public String getId()
The ID of the environment.
public Environment withId(String id)
The ID of the environment.
id
- The ID of the environment.public void setName(String name)
The name of the environment.
name
- The name of the environment.public String getName()
The name of the environment.
public Environment withName(String name)
The name of the environment.
name
- The name of 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 Environment 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 Environment 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 setDesktopType(String desktopType)
The type of streaming desktop for the environment.
desktopType
- The type of streaming desktop for the environment.DesktopType
public String getDesktopType()
The type of streaming desktop for the environment.
DesktopType
public Environment withDesktopType(String desktopType)
The type of streaming desktop for the environment.
desktopType
- The type of streaming desktop for the environment.DesktopType
public Environment withDesktopType(DesktopType desktopType)
The type of streaming desktop for the environment.
desktopType
- The type of streaming desktop for the environment.DesktopType
public void setActivationCode(String activationCode)
The activation code to register a device to the environment.
activationCode
- The activation code to register a device to the environment.public String getActivationCode()
The activation code to register a device to the environment.
public Environment withActivationCode(String activationCode)
The activation code to register a device to the environment.
activationCode
- The activation code to register a device to the environment.public void setRegisteredDevicesCount(Integer registeredDevicesCount)
The number of devices registered to the environment.
registeredDevicesCount
- The number of devices registered to the environment.public Integer getRegisteredDevicesCount()
The number of devices registered to the environment.
public Environment withRegisteredDevicesCount(Integer registeredDevicesCount)
The number of devices registered to the environment.
registeredDevicesCount
- The number of devices registered to the environment.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 Environment 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 Environment 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 Environment 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 Environment withSoftwareSetUpdateMode(String softwareSetUpdateMode)
An option to define which software updates to apply.
softwareSetUpdateMode
- An option to define which software updates to apply.SoftwareSetUpdateMode
public Environment 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 Environment withDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set to apply.
desiredSoftwareSetId
- The ID of the software set to apply.public void setPendingSoftwareSetId(String pendingSoftwareSetId)
The ID of the software set that is pending to be installed.
pendingSoftwareSetId
- The ID of the software set that is pending to be installed.public String getPendingSoftwareSetId()
The ID of the software set that is pending to be installed.
public Environment withPendingSoftwareSetId(String pendingSoftwareSetId)
The ID of the software set that is pending to be installed.
pendingSoftwareSetId
- The ID of the software set that is pending to be installed.public void setPendingSoftwareSetVersion(String pendingSoftwareSetVersion)
The version of the software set that is pending to be installed.
pendingSoftwareSetVersion
- The version of the software set that is pending to be installed.public String getPendingSoftwareSetVersion()
The version of the software set that is pending to be installed.
public Environment withPendingSoftwareSetVersion(String pendingSoftwareSetVersion)
The version of the software set that is pending to be installed.
pendingSoftwareSetVersion
- The version of the software set that is pending to be installed.public void setSoftwareSetComplianceStatus(String softwareSetComplianceStatus)
Describes if the software currently installed on all devices in the environment is a supported version.
softwareSetComplianceStatus
- Describes if the software currently installed on all devices in the environment is a supported version.EnvironmentSoftwareSetComplianceStatus
public String getSoftwareSetComplianceStatus()
Describes if the software currently installed on all devices in the environment is a supported version.
EnvironmentSoftwareSetComplianceStatus
public Environment withSoftwareSetComplianceStatus(String softwareSetComplianceStatus)
Describes if the software currently installed on all devices in the environment is a supported version.
softwareSetComplianceStatus
- Describes if the software currently installed on all devices in the environment is a supported version.EnvironmentSoftwareSetComplianceStatus
public Environment withSoftwareSetComplianceStatus(EnvironmentSoftwareSetComplianceStatus softwareSetComplianceStatus)
Describes if the software currently installed on all devices in the environment is a supported version.
softwareSetComplianceStatus
- Describes if the software currently installed on all devices in the environment is a supported version.EnvironmentSoftwareSetComplianceStatus
public void setCreatedAt(Date createdAt)
The timestamp of when the environment was created.
createdAt
- The timestamp of when the environment was created.public Date getCreatedAt()
The timestamp of when the environment was created.
public Environment withCreatedAt(Date createdAt)
The timestamp of when the environment was created.
createdAt
- The timestamp of when the environment was created.public void setUpdatedAt(Date updatedAt)
The timestamp of when the device was updated.
updatedAt
- The timestamp of when the device was updated.public Date getUpdatedAt()
The timestamp of when the device was updated.
public Environment withUpdatedAt(Date updatedAt)
The timestamp of when the device was updated.
updatedAt
- The timestamp of when the device was updated.public void setArn(String arn)
The Amazon Resource Name (ARN) of the environment.
arn
- The Amazon Resource Name (ARN) of the environment.public String getArn()
The Amazon Resource Name (ARN) of the environment.
public Environment withArn(String arn)
The Amazon Resource Name (ARN) of the environment.
arn
- The Amazon Resource Name (ARN) of the environment.public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.
kmsKeyArn
- The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.
public Environment withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.
kmsKeyArn
- The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.public Map<String,String> getTags()
The tag keys and optional values for the resource.
public void setTags(Map<String,String> tags)
The tag keys and optional values for the resource.
tags
- The tag keys and optional values for the resource.public Environment withTags(Map<String,String> tags)
The tag keys and optional values for the resource.
tags
- The tag keys and optional values for the resource.public Environment addTagsEntry(String key, String value)
public Environment clearTagsEntries()
public Map<String,String> getDeviceCreationTags()
The tag keys and optional values for the newly created devices for this environment.
public void setDeviceCreationTags(Map<String,String> deviceCreationTags)
The tag keys and optional values for the newly created devices for this environment.
deviceCreationTags
- The tag keys and optional values for the newly created devices for this environment.public Environment withDeviceCreationTags(Map<String,String> deviceCreationTags)
The tag keys and optional values for the newly created devices for this environment.
deviceCreationTags
- The tag keys and optional values for the newly created devices for this environment.public Environment addDeviceCreationTagsEntry(String key, String value)
public Environment clearDeviceCreationTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public Environment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.