@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLinkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateLinkRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateLinkRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIdentifier()
The ARN of the link that you want to update.
|
List<String> |
getResourceTypes()
An array of strings that define which types of data that the source account will send to the monitoring account.
|
int |
hashCode() |
void |
setIdentifier(String identifier)
The ARN of the link that you want to update.
|
void |
setResourceTypes(Collection<String> resourceTypes)
An array of strings that define which types of data that the source account will send to the monitoring account.
|
String |
toString()
Returns a string representation of this object.
|
UpdateLinkRequest |
withIdentifier(String identifier)
The ARN of the link that you want to update.
|
UpdateLinkRequest |
withResourceTypes(Collection<String> resourceTypes)
An array of strings that define which types of data that the source account will send to the monitoring account.
|
UpdateLinkRequest |
withResourceTypes(ResourceType... resourceTypes)
An array of strings that define which types of data that the source account will send to the monitoring account.
|
UpdateLinkRequest |
withResourceTypes(String... resourceTypes)
An array of strings that define which types of data that the source account will send to the monitoring account.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIdentifier(String identifier)
The ARN of the link that you want to update.
identifier
- The ARN of the link that you want to update.public String getIdentifier()
The ARN of the link that you want to update.
public UpdateLinkRequest withIdentifier(String identifier)
The ARN of the link that you want to update.
identifier
- The ARN of the link that you want to update.public List<String> getResourceTypes()
An array of strings that define which types of data that the source account will send to the monitoring account.
Your input here replaces the current set of data types that are shared.
Your input here replaces the current set of data types that are shared.
ResourceType
public void setResourceTypes(Collection<String> resourceTypes)
An array of strings that define which types of data that the source account will send to the monitoring account.
Your input here replaces the current set of data types that are shared.
resourceTypes
- An array of strings that define which types of data that the source account will send to the monitoring
account.
Your input here replaces the current set of data types that are shared.
ResourceType
public UpdateLinkRequest withResourceTypes(String... resourceTypes)
An array of strings that define which types of data that the source account will send to the monitoring account.
Your input here replaces the current set of data types that are shared.
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
- An array of strings that define which types of data that the source account will send to the monitoring
account.
Your input here replaces the current set of data types that are shared.
ResourceType
public UpdateLinkRequest withResourceTypes(Collection<String> resourceTypes)
An array of strings that define which types of data that the source account will send to the monitoring account.
Your input here replaces the current set of data types that are shared.
resourceTypes
- An array of strings that define which types of data that the source account will send to the monitoring
account.
Your input here replaces the current set of data types that are shared.
ResourceType
public UpdateLinkRequest withResourceTypes(ResourceType... resourceTypes)
An array of strings that define which types of data that the source account will send to the monitoring account.
Your input here replaces the current set of data types that are shared.
resourceTypes
- An array of strings that define which types of data that the source account will send to the monitoring
account.
Your input here replaces the current set of data types that are shared.
ResourceType
public String toString()
toString
in class Object
Object.toString()
public UpdateLinkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()