@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateServiceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateServiceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateServiceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The edited service description.
|
String |
getName()
The name of the service to edit.
|
String |
getSpec()
Lists the service instances to add and the existing service instances to remain.
|
int |
hashCode() |
void |
setDescription(String description)
The edited service description.
|
void |
setName(String name)
The name of the service to edit.
|
void |
setSpec(String spec)
Lists the service instances to add and the existing service instances to remain.
|
String |
toString()
Returns a string representation of this object.
|
UpdateServiceRequest |
withDescription(String description)
The edited service description.
|
UpdateServiceRequest |
withName(String name)
The name of the service to edit.
|
UpdateServiceRequest |
withSpec(String spec)
Lists the service instances to add and the existing service instances to remain.
|
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 setDescription(String description)
The edited service description.
description
- The edited service description.public String getDescription()
The edited service description.
public UpdateServiceRequest withDescription(String description)
The edited service description.
description
- The edited service description.public void setName(String name)
The name of the service to edit.
name
- The name of the service to edit.public String getName()
The name of the service to edit.
public UpdateServiceRequest withName(String name)
The name of the service to edit.
name
- The name of the service to edit.public void setSpec(String spec)
Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list. Don't include edits to the existing service instances or pipeline. For more information, see Edit a service in the Proton User Guide.
spec
- Lists the service instances to add and the existing service instances to remain. Omit the existing service
instances to delete from the list. Don't include edits to the existing service instances or
pipeline. For more information, see Edit a service in the
Proton User Guide.public String getSpec()
Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list. Don't include edits to the existing service instances or pipeline. For more information, see Edit a service in the Proton User Guide.
public UpdateServiceRequest withSpec(String spec)
Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list. Don't include edits to the existing service instances or pipeline. For more information, see Edit a service in the Proton User Guide.
spec
- Lists the service instances to add and the existing service instances to remain. Omit the existing service
instances to delete from the list. Don't include edits to the existing service instances or
pipeline. For more information, see Edit a service in the
Proton User Guide.public String toString()
toString
in class Object
Object.toString()
public UpdateServiceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()