@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePresetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdatePresetRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePresetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCategory()
The new category for the preset, if you are changing it.
|
String |
getDescription()
The new description for the preset, if you are changing it.
|
String |
getName()
The name of the preset you are modifying.
|
PresetSettings |
getSettings()
Settings for preset
|
int |
hashCode() |
void |
setCategory(String category)
The new category for the preset, if you are changing it.
|
void |
setDescription(String description)
The new description for the preset, if you are changing it.
|
void |
setName(String name)
The name of the preset you are modifying.
|
void |
setSettings(PresetSettings settings)
Settings for preset
|
String |
toString()
Returns a string representation of this object.
|
UpdatePresetRequest |
withCategory(String category)
The new category for the preset, if you are changing it.
|
UpdatePresetRequest |
withDescription(String description)
The new description for the preset, if you are changing it.
|
UpdatePresetRequest |
withName(String name)
The name of the preset you are modifying.
|
UpdatePresetRequest |
withSettings(PresetSettings settings)
Settings for preset
|
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 setCategory(String category)
category
- The new category for the preset, if you are changing it.public String getCategory()
public UpdatePresetRequest withCategory(String category)
category
- The new category for the preset, if you are changing it.public void setDescription(String description)
description
- The new description for the preset, if you are changing it.public String getDescription()
public UpdatePresetRequest withDescription(String description)
description
- The new description for the preset, if you are changing it.public void setName(String name)
name
- The name of the preset you are modifying.public String getName()
public UpdatePresetRequest withName(String name)
name
- The name of the preset you are modifying.public void setSettings(PresetSettings settings)
settings
- Settings for presetpublic PresetSettings getSettings()
public UpdatePresetRequest withSettings(PresetSettings settings)
settings
- Settings for presetpublic String toString()
toString
in class Object
Object.toString()
public UpdatePresetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()