@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateWorkspaceAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of an UpdateWorkspaceAlias
operation.
NOOP
Constructor and Description |
---|
UpdateWorkspaceAliasRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateWorkspaceAliasRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAlias()
The new alias for the workspace.
|
String |
getClientToken()
A unique identifier that you can provide to ensure the idempotency of the request.
|
String |
getWorkspaceId()
The ID of the workspace to update.
|
int |
hashCode() |
void |
setAlias(String alias)
The new alias for the workspace.
|
void |
setClientToken(String clientToken)
A unique identifier that you can provide to ensure the idempotency of the request.
|
void |
setWorkspaceId(String workspaceId)
The ID of the workspace to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateWorkspaceAliasRequest |
withAlias(String alias)
The new alias for the workspace.
|
UpdateWorkspaceAliasRequest |
withClientToken(String clientToken)
A unique identifier that you can provide to ensure the idempotency of the request.
|
UpdateWorkspaceAliasRequest |
withWorkspaceId(String workspaceId)
The ID of the workspace to update.
|
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 setAlias(String alias)
The new alias for the workspace. It does not need to be unique.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
alias
- The new alias for the workspace. It does not need to be unique.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
public String getAlias()
The new alias for the workspace. It does not need to be unique.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
public UpdateWorkspaceAliasRequest withAlias(String alias)
The new alias for the workspace. It does not need to be unique.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
alias
- The new alias for the workspace. It does not need to be unique.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
public void setClientToken(String clientToken)
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
clientToken
- A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.public String getClientToken()
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
public UpdateWorkspaceAliasRequest withClientToken(String clientToken)
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
clientToken
- A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.public void setWorkspaceId(String workspaceId)
The ID of the workspace to update.
workspaceId
- The ID of the workspace to update.public String getWorkspaceId()
The ID of the workspace to update.
public UpdateWorkspaceAliasRequest withWorkspaceId(String workspaceId)
The ID of the workspace to update.
workspaceId
- The ID of the workspace to update.public String toString()
toString
in class Object
Object.toString()
public UpdateWorkspaceAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()