@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateProfilesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateProfilesRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateProfilesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getProfileArns()
The list of profile ARNs to associate with the workload.
|
String |
getWorkloadId() |
int |
hashCode() |
void |
setProfileArns(Collection<String> profileArns)
The list of profile ARNs to associate with the workload.
|
void |
setWorkloadId(String workloadId) |
String |
toString()
Returns a string representation of this object.
|
AssociateProfilesRequest |
withProfileArns(Collection<String> profileArns)
The list of profile ARNs to associate with the workload.
|
AssociateProfilesRequest |
withProfileArns(String... profileArns)
The list of profile ARNs to associate with the workload.
|
AssociateProfilesRequest |
withWorkloadId(String workloadId) |
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 setWorkloadId(String workloadId)
workloadId
- public String getWorkloadId()
public AssociateProfilesRequest withWorkloadId(String workloadId)
workloadId
- public List<String> getProfileArns()
The list of profile ARNs to associate with the workload.
public void setProfileArns(Collection<String> profileArns)
The list of profile ARNs to associate with the workload.
profileArns
- The list of profile ARNs to associate with the workload.public AssociateProfilesRequest withProfileArns(String... profileArns)
The list of profile ARNs to associate with the workload.
NOTE: This method appends the values to the existing list (if any). Use
setProfileArns(java.util.Collection)
or withProfileArns(java.util.Collection)
if you want to
override the existing values.
profileArns
- The list of profile ARNs to associate with the workload.public AssociateProfilesRequest withProfileArns(Collection<String> profileArns)
The list of profile ARNs to associate with the workload.
profileArns
- The list of profile ARNs to associate with the workload.public String toString()
toString
in class Object
Object.toString()
public AssociateProfilesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()