@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Association extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon Braket resource and the association type.
Constructor and Description |
---|
Association() |
Modifier and Type | Method and Description |
---|---|
Association |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Braket resource arn.
|
String |
getType()
The association type for the specified Amazon Braket resource arn.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Braket resource arn.
|
void |
setType(String type)
The association type for the specified Amazon Braket resource arn.
|
String |
toString()
Returns a string representation of this object.
|
Association |
withArn(String arn)
The Amazon Braket resource arn.
|
Association |
withType(AssociationType type)
The association type for the specified Amazon Braket resource arn.
|
Association |
withType(String type)
The association type for the specified Amazon Braket resource arn.
|
public void setArn(String arn)
The Amazon Braket resource arn.
arn
- The Amazon Braket resource arn.public String getArn()
The Amazon Braket resource arn.
public Association withArn(String arn)
The Amazon Braket resource arn.
arn
- The Amazon Braket resource arn.public void setType(String type)
The association type for the specified Amazon Braket resource arn.
type
- The association type for the specified Amazon Braket resource arn.AssociationType
public String getType()
The association type for the specified Amazon Braket resource arn.
AssociationType
public Association withType(String type)
The association type for the specified Amazon Braket resource arn.
type
- The association type for the specified Amazon Braket resource arn.AssociationType
public Association withType(AssociationType type)
The association type for the specified Amazon Braket resource arn.
type
- The association type for the specified Amazon Braket resource arn.AssociationType
public String toString()
toString
in class Object
Object.toString()
public Association clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.