@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchAssociateResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchAssociateResourceRequest() |
Modifier and Type | Method and Description |
---|---|
BatchAssociateResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getItems()
The uniform resource identifiers (URIs) of resources that should be associated to the resource set.
|
String |
getResourceSetIdentifier()
A unique identifier for the resource set, used in a request to refer to the resource set.
|
int |
hashCode() |
void |
setItems(Collection<String> items)
The uniform resource identifiers (URIs) of resources that should be associated to the resource set.
|
void |
setResourceSetIdentifier(String resourceSetIdentifier)
A unique identifier for the resource set, used in a request to refer to the resource set.
|
String |
toString()
Returns a string representation of this object.
|
BatchAssociateResourceRequest |
withItems(Collection<String> items)
The uniform resource identifiers (URIs) of resources that should be associated to the resource set.
|
BatchAssociateResourceRequest |
withItems(String... items)
The uniform resource identifiers (URIs) of resources that should be associated to the resource set.
|
BatchAssociateResourceRequest |
withResourceSetIdentifier(String resourceSetIdentifier)
A unique identifier for the resource set, used in a request to refer to the resource set.
|
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 setResourceSetIdentifier(String resourceSetIdentifier)
A unique identifier for the resource set, used in a request to refer to the resource set.
resourceSetIdentifier
- A unique identifier for the resource set, used in a request to refer to the resource set.public String getResourceSetIdentifier()
A unique identifier for the resource set, used in a request to refer to the resource set.
public BatchAssociateResourceRequest withResourceSetIdentifier(String resourceSetIdentifier)
A unique identifier for the resource set, used in a request to refer to the resource set.
resourceSetIdentifier
- A unique identifier for the resource set, used in a request to refer to the resource set.public List<String> getItems()
The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The URIs must be Amazon Resource Names (ARNs).
public void setItems(Collection<String> items)
The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The URIs must be Amazon Resource Names (ARNs).
items
- The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The
URIs must be Amazon Resource Names (ARNs).public BatchAssociateResourceRequest withItems(String... items)
The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The URIs must be Amazon Resource Names (ARNs).
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The
URIs must be Amazon Resource Names (ARNs).public BatchAssociateResourceRequest withItems(Collection<String> items)
The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The URIs must be Amazon Resource Names (ARNs).
items
- The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The
URIs must be Amazon Resource Names (ARNs).public String toString()
toString
in class Object
Object.toString()
public BatchAssociateResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()