@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
PutAttributesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Attribute> |
getAttributes()
The attributes to apply to your resource.
|
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes.
|
int |
hashCode() |
void |
setAttributes(Collection<Attribute> attributes)
The attributes to apply to your resource.
|
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutAttributesRequest |
withAttributes(Attribute... attributes)
The attributes to apply to your resource.
|
PutAttributesRequest |
withAttributes(Collection<Attribute> attributes)
The attributes to apply to your resource.
|
PutAttributesRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes.
|
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 setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply
attributes. If you do not specify a cluster, the default cluster is assumed.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.
public PutAttributesRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply
attributes. If you do not specify a cluster, the default cluster is assumed.public List<Attribute> getAttributes()
The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can specify up to 10 attributes in a single call.
public void setAttributes(Collection<Attribute> attributes)
The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can specify up to 10 attributes in a single call.
attributes
- The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can
specify up to 10 attributes in a single call.public PutAttributesRequest withAttributes(Attribute... attributes)
The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can specify up to 10 attributes in a single call.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can
specify up to 10 attributes in a single call.public PutAttributesRequest withAttributes(Collection<Attribute> attributes)
The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can specify up to 10 attributes in a single call.
attributes
- The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can
specify up to 10 attributes in a single call.public String toString()
toString
in class Object
Object.toString()
public PutAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.