@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUsageProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateUsageProfileRequest() |
Modifier and Type | Method and Description |
---|---|
CreateUsageProfileRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateUsageProfileRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateUsageProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ProfileConfiguration |
getConfiguration()
A
ProfileConfiguration object specifying the job and session values for the profile. |
String |
getDescription()
A description of the usage profile.
|
String |
getName()
The name of the usage profile.
|
Map<String,String> |
getTags()
A list of tags applied to the usage profile.
|
int |
hashCode() |
void |
setConfiguration(ProfileConfiguration configuration)
A
ProfileConfiguration object specifying the job and session values for the profile. |
void |
setDescription(String description)
A description of the usage profile.
|
void |
setName(String name)
The name of the usage profile.
|
void |
setTags(Map<String,String> tags)
A list of tags applied to the usage profile.
|
String |
toString()
Returns a string representation of this object.
|
CreateUsageProfileRequest |
withConfiguration(ProfileConfiguration configuration)
A
ProfileConfiguration object specifying the job and session values for the profile. |
CreateUsageProfileRequest |
withDescription(String description)
A description of the usage profile.
|
CreateUsageProfileRequest |
withName(String name)
The name of the usage profile.
|
CreateUsageProfileRequest |
withTags(Map<String,String> tags)
A list of tags applied to the usage profile.
|
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 setName(String name)
The name of the usage profile.
name
- The name of the usage profile.public String getName()
The name of the usage profile.
public CreateUsageProfileRequest withName(String name)
The name of the usage profile.
name
- The name of the usage profile.public void setDescription(String description)
A description of the usage profile.
description
- A description of the usage profile.public String getDescription()
A description of the usage profile.
public CreateUsageProfileRequest withDescription(String description)
A description of the usage profile.
description
- A description of the usage profile.public void setConfiguration(ProfileConfiguration configuration)
A ProfileConfiguration
object specifying the job and session values for the profile.
configuration
- A ProfileConfiguration
object specifying the job and session values for the profile.public ProfileConfiguration getConfiguration()
A ProfileConfiguration
object specifying the job and session values for the profile.
ProfileConfiguration
object specifying the job and session values for the profile.public CreateUsageProfileRequest withConfiguration(ProfileConfiguration configuration)
A ProfileConfiguration
object specifying the job and session values for the profile.
configuration
- A ProfileConfiguration
object specifying the job and session values for the profile.public Map<String,String> getTags()
A list of tags applied to the usage profile.
public void setTags(Map<String,String> tags)
A list of tags applied to the usage profile.
tags
- A list of tags applied to the usage profile.public CreateUsageProfileRequest withTags(Map<String,String> tags)
A list of tags applied to the usage profile.
tags
- A list of tags applied to the usage profile.public CreateUsageProfileRequest addTagsEntry(String key, String value)
public CreateUsageProfileRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateUsageProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()