@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CrossAccountResource extends Object implements Serializable, Cloneable, StructuredPojo
An endpoint (Amazon Web Services resource) that is listed in a cross-account attachment and can be added to an accelerator by specified principals, that are also listed in the attachment.
Constructor and Description |
---|
CrossAccountResource() |
Modifier and Type | Method and Description |
---|---|
CrossAccountResource |
clone() |
boolean |
equals(Object obj) |
String |
getAttachmentArn()
The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can
be added to accelerators and principals that have permission to add the endpoints to accelerators.
|
String |
getEndpointId()
The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an accelerator
by specified principals.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachmentArn(String attachmentArn)
The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can
be added to accelerators and principals that have permission to add the endpoints to accelerators.
|
void |
setEndpointId(String endpointId)
The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an accelerator
by specified principals.
|
String |
toString()
Returns a string representation of this object.
|
CrossAccountResource |
withAttachmentArn(String attachmentArn)
The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can
be added to accelerators and principals that have permission to add the endpoints to accelerators.
|
CrossAccountResource |
withEndpointId(String endpointId)
The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an accelerator
by specified principals.
|
public void setEndpointId(String endpointId)
The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an accelerator by specified principals.
endpointId
- The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an
accelerator by specified principals.public String getEndpointId()
The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an accelerator by specified principals.
public CrossAccountResource withEndpointId(String endpointId)
The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an accelerator by specified principals.
endpointId
- The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an
accelerator by specified principals.public void setAttachmentArn(String attachmentArn)
The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.
attachmentArn
- The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources)
that can be added to accelerators and principals that have permission to add the endpoints to
accelerators.public String getAttachmentArn()
The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.
public CrossAccountResource withAttachmentArn(String attachmentArn)
The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.
attachmentArn
- The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources)
that can be added to accelerators and principals that have permission to add the endpoints to
accelerators.public String toString()
toString
in class Object
Object.toString()
public CrossAccountResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.