@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchAssociateProjectAssetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchAssociateProjectAssetsRequest() |
Modifier and Type | Method and Description |
---|---|
BatchAssociateProjectAssetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAssetIds()
The IDs of the assets to be associated to the project.
|
String |
getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
String |
getProjectId()
The ID of the project to which to associate the assets.
|
int |
hashCode() |
void |
setAssetIds(Collection<String> assetIds)
The IDs of the assets to be associated to the project.
|
void |
setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
void |
setProjectId(String projectId)
The ID of the project to which to associate the assets.
|
String |
toString()
Returns a string representation of this object.
|
BatchAssociateProjectAssetsRequest |
withAssetIds(Collection<String> assetIds)
The IDs of the assets to be associated to the project.
|
BatchAssociateProjectAssetsRequest |
withAssetIds(String... assetIds)
The IDs of the assets to be associated to the project.
|
BatchAssociateProjectAssetsRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
BatchAssociateProjectAssetsRequest |
withProjectId(String projectId)
The ID of the project to which to associate the assets.
|
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 setProjectId(String projectId)
The ID of the project to which to associate the assets.
projectId
- The ID of the project to which to associate the assets.public String getProjectId()
The ID of the project to which to associate the assets.
public BatchAssociateProjectAssetsRequest withProjectId(String projectId)
The ID of the project to which to associate the assets.
projectId
- The ID of the project to which to associate the assets.public List<String> getAssetIds()
The IDs of the assets to be associated to the project.
public void setAssetIds(Collection<String> assetIds)
The IDs of the assets to be associated to the project.
assetIds
- The IDs of the assets to be associated to the project.public BatchAssociateProjectAssetsRequest withAssetIds(String... assetIds)
The IDs of the assets to be associated to the project.
NOTE: This method appends the values to the existing list (if any). Use
setAssetIds(java.util.Collection)
or withAssetIds(java.util.Collection)
if you want to override
the existing values.
assetIds
- The IDs of the assets to be associated to the project.public BatchAssociateProjectAssetsRequest withAssetIds(Collection<String> assetIds)
The IDs of the assets to be associated to the project.
assetIds
- The IDs of the assets to be associated to the project.public void setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
public BatchAssociateProjectAssetsRequest withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String toString()
toString
in class Object
Object.toString()
public BatchAssociateProjectAssetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()