@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAttachedLinksItem extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains information about one link attached to this monitoring account sink.
| Constructor and Description |
|---|
ListAttachedLinksItem() |
| Modifier and Type | Method and Description |
|---|---|
ListAttachedLinksItem |
clone() |
boolean |
equals(Object obj) |
String |
getLabel()
The label that was assigned to this link at creation, with the variables resolved to their actual values.
|
String |
getLinkArn()
The ARN of the link.
|
List<String> |
getResourceTypes()
The resource types supported by this link.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setLabel(String label)
The label that was assigned to this link at creation, with the variables resolved to their actual values.
|
void |
setLinkArn(String linkArn)
The ARN of the link.
|
void |
setResourceTypes(Collection<String> resourceTypes)
The resource types supported by this link.
|
String |
toString()
Returns a string representation of this object.
|
ListAttachedLinksItem |
withLabel(String label)
The label that was assigned to this link at creation, with the variables resolved to their actual values.
|
ListAttachedLinksItem |
withLinkArn(String linkArn)
The ARN of the link.
|
ListAttachedLinksItem |
withResourceTypes(Collection<String> resourceTypes)
The resource types supported by this link.
|
ListAttachedLinksItem |
withResourceTypes(String... resourceTypes)
The resource types supported by this link.
|
public void setLabel(String label)
The label that was assigned to this link at creation, with the variables resolved to their actual values.
label - The label that was assigned to this link at creation, with the variables resolved to their actual values.public String getLabel()
The label that was assigned to this link at creation, with the variables resolved to their actual values.
public ListAttachedLinksItem withLabel(String label)
The label that was assigned to this link at creation, with the variables resolved to their actual values.
label - The label that was assigned to this link at creation, with the variables resolved to their actual values.public void setLinkArn(String linkArn)
The ARN of the link.
linkArn - The ARN of the link.public String getLinkArn()
The ARN of the link.
public ListAttachedLinksItem withLinkArn(String linkArn)
The ARN of the link.
linkArn - The ARN of the link.public List<String> getResourceTypes()
The resource types supported by this link.
public void setResourceTypes(Collection<String> resourceTypes)
The resource types supported by this link.
resourceTypes - The resource types supported by this link.public ListAttachedLinksItem withResourceTypes(String... resourceTypes)
The resource types supported by this link.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTypes(java.util.Collection) or withResourceTypes(java.util.Collection) if you want
to override the existing values.
resourceTypes - The resource types supported by this link.public ListAttachedLinksItem withResourceTypes(Collection<String> resourceTypes)
The resource types supported by this link.
resourceTypes - The resource types supported by this link.public String toString()
toString in class ObjectObject.toString()public ListAttachedLinksItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.