@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectionAliasPermission extends Object implements Serializable, Cloneable, StructuredPojo
Describes the permissions for a connection alias. Connection aliases are used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
Constructor and Description |
---|
ConnectionAliasPermission() |
Modifier and Type | Method and Description |
---|---|
ConnectionAliasPermission |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowAssociation()
Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a
directory.
|
String |
getSharedAccountId()
The identifier of the Amazon Web Services account that the connection alias is shared with.
|
int |
hashCode() |
Boolean |
isAllowAssociation()
Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a
directory.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowAssociation(Boolean allowAssociation)
Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a
directory.
|
void |
setSharedAccountId(String sharedAccountId)
The identifier of the Amazon Web Services account that the connection alias is shared with.
|
String |
toString()
Returns a string representation of this object.
|
ConnectionAliasPermission |
withAllowAssociation(Boolean allowAssociation)
Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a
directory.
|
ConnectionAliasPermission |
withSharedAccountId(String sharedAccountId)
The identifier of the Amazon Web Services account that the connection alias is shared with.
|
public void setSharedAccountId(String sharedAccountId)
The identifier of the Amazon Web Services account that the connection alias is shared with.
sharedAccountId
- The identifier of the Amazon Web Services account that the connection alias is shared with.public String getSharedAccountId()
The identifier of the Amazon Web Services account that the connection alias is shared with.
public ConnectionAliasPermission withSharedAccountId(String sharedAccountId)
The identifier of the Amazon Web Services account that the connection alias is shared with.
sharedAccountId
- The identifier of the Amazon Web Services account that the connection alias is shared with.public void setAllowAssociation(Boolean allowAssociation)
Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a directory.
allowAssociation
- Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias
with a directory.public Boolean getAllowAssociation()
Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a directory.
public ConnectionAliasPermission withAllowAssociation(Boolean allowAssociation)
Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a directory.
allowAssociation
- Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias
with a directory.public Boolean isAllowAssociation()
Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a directory.
public String toString()
toString
in class Object
Object.toString()
public ConnectionAliasPermission clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.