@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectionAlias extends Object implements Serializable, Cloneable, StructuredPojo
Describes a connection alias. Connection aliases are used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
Constructor and Description |
---|
ConnectionAlias() |
Modifier and Type | Method and Description |
---|---|
ConnectionAlias |
clone() |
boolean |
equals(Object obj) |
String |
getAliasId()
The identifier of the connection alias.
|
List<ConnectionAliasAssociation> |
getAssociations()
The association status of the connection alias.
|
String |
getConnectionString()
The connection string specified for the connection alias.
|
String |
getOwnerAccountId()
The identifier of the Amazon Web Services account that owns the connection alias.
|
String |
getState()
The current state of the connection alias.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAliasId(String aliasId)
The identifier of the connection alias.
|
void |
setAssociations(Collection<ConnectionAliasAssociation> associations)
The association status of the connection alias.
|
void |
setConnectionString(String connectionString)
The connection string specified for the connection alias.
|
void |
setOwnerAccountId(String ownerAccountId)
The identifier of the Amazon Web Services account that owns the connection alias.
|
void |
setState(String state)
The current state of the connection alias.
|
String |
toString()
Returns a string representation of this object.
|
ConnectionAlias |
withAliasId(String aliasId)
The identifier of the connection alias.
|
ConnectionAlias |
withAssociations(Collection<ConnectionAliasAssociation> associations)
The association status of the connection alias.
|
ConnectionAlias |
withAssociations(ConnectionAliasAssociation... associations)
The association status of the connection alias.
|
ConnectionAlias |
withConnectionString(String connectionString)
The connection string specified for the connection alias.
|
ConnectionAlias |
withOwnerAccountId(String ownerAccountId)
The identifier of the Amazon Web Services account that owns the connection alias.
|
ConnectionAlias |
withState(ConnectionAliasState state)
The current state of the connection alias.
|
ConnectionAlias |
withState(String state)
The current state of the connection alias.
|
public void setConnectionString(String connectionString)
The connection string specified for the connection alias. The connection string must be in the form of a fully
qualified domain name (FQDN), such as www.example.com
.
connectionString
- The connection string specified for the connection alias. The connection string must be in the form of a
fully qualified domain name (FQDN), such as www.example.com
.public String getConnectionString()
The connection string specified for the connection alias. The connection string must be in the form of a fully
qualified domain name (FQDN), such as www.example.com
.
www.example.com
.public ConnectionAlias withConnectionString(String connectionString)
The connection string specified for the connection alias. The connection string must be in the form of a fully
qualified domain name (FQDN), such as www.example.com
.
connectionString
- The connection string specified for the connection alias. The connection string must be in the form of a
fully qualified domain name (FQDN), such as www.example.com
.public void setAliasId(String aliasId)
The identifier of the connection alias.
aliasId
- The identifier of the connection alias.public String getAliasId()
The identifier of the connection alias.
public ConnectionAlias withAliasId(String aliasId)
The identifier of the connection alias.
aliasId
- The identifier of the connection alias.public void setState(String state)
The current state of the connection alias.
state
- The current state of the connection alias.ConnectionAliasState
public String getState()
The current state of the connection alias.
ConnectionAliasState
public ConnectionAlias withState(String state)
The current state of the connection alias.
state
- The current state of the connection alias.ConnectionAliasState
public ConnectionAlias withState(ConnectionAliasState state)
The current state of the connection alias.
state
- The current state of the connection alias.ConnectionAliasState
public void setOwnerAccountId(String ownerAccountId)
The identifier of the Amazon Web Services account that owns the connection alias.
ownerAccountId
- The identifier of the Amazon Web Services account that owns the connection alias.public String getOwnerAccountId()
The identifier of the Amazon Web Services account that owns the connection alias.
public ConnectionAlias withOwnerAccountId(String ownerAccountId)
The identifier of the Amazon Web Services account that owns the connection alias.
ownerAccountId
- The identifier of the Amazon Web Services account that owns the connection alias.public List<ConnectionAliasAssociation> getAssociations()
The association status of the connection alias.
public void setAssociations(Collection<ConnectionAliasAssociation> associations)
The association status of the connection alias.
associations
- The association status of the connection alias.public ConnectionAlias withAssociations(ConnectionAliasAssociation... associations)
The association status of the connection alias.
NOTE: This method appends the values to the existing list (if any). Use
setAssociations(java.util.Collection)
or withAssociations(java.util.Collection)
if you want to
override the existing values.
associations
- The association status of the connection alias.public ConnectionAlias withAssociations(Collection<ConnectionAliasAssociation> associations)
The association status of the connection alias.
associations
- The association status of the connection alias.public String toString()
toString
in class Object
Object.toString()
public ConnectionAlias clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.