@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDestinationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDestinationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDestinationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A new description of the resource.
|
String |
getExpression()
The new rule name or topic rule to send messages to.
|
String |
getExpressionType()
The type of value in
Expression . |
String |
getName()
The new name of the resource.
|
String |
getRoleArn()
The ARN of the IAM Role that authorizes the destination.
|
int |
hashCode() |
void |
setDescription(String description)
A new description of the resource.
|
void |
setExpression(String expression)
The new rule name or topic rule to send messages to.
|
void |
setExpressionType(String expressionType)
The type of value in
Expression . |
void |
setName(String name)
The new name of the resource.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM Role that authorizes the destination.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDestinationRequest |
withDescription(String description)
A new description of the resource.
|
UpdateDestinationRequest |
withExpression(String expression)
The new rule name or topic rule to send messages to.
|
UpdateDestinationRequest |
withExpressionType(ExpressionType expressionType)
The type of value in
Expression . |
UpdateDestinationRequest |
withExpressionType(String expressionType)
The type of value in
Expression . |
UpdateDestinationRequest |
withName(String name)
The new name of the resource.
|
UpdateDestinationRequest |
withRoleArn(String roleArn)
The ARN of the IAM Role that authorizes the destination.
|
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 new name of the resource.
name
- The new name of the resource.public String getName()
The new name of the resource.
public UpdateDestinationRequest withName(String name)
The new name of the resource.
name
- The new name of the resource.public void setExpressionType(String expressionType)
The type of value in Expression
.
expressionType
- The type of value in Expression
.ExpressionType
public String getExpressionType()
The type of value in Expression
.
Expression
.ExpressionType
public UpdateDestinationRequest withExpressionType(String expressionType)
The type of value in Expression
.
expressionType
- The type of value in Expression
.ExpressionType
public UpdateDestinationRequest withExpressionType(ExpressionType expressionType)
The type of value in Expression
.
expressionType
- The type of value in Expression
.ExpressionType
public void setExpression(String expression)
The new rule name or topic rule to send messages to.
expression
- The new rule name or topic rule to send messages to.public String getExpression()
The new rule name or topic rule to send messages to.
public UpdateDestinationRequest withExpression(String expression)
The new rule name or topic rule to send messages to.
expression
- The new rule name or topic rule to send messages to.public void setDescription(String description)
A new description of the resource.
description
- A new description of the resource.public String getDescription()
A new description of the resource.
public UpdateDestinationRequest withDescription(String description)
A new description of the resource.
description
- A new description of the resource.public void setRoleArn(String roleArn)
The ARN of the IAM Role that authorizes the destination.
roleArn
- The ARN of the IAM Role that authorizes the destination.public String getRoleArn()
The ARN of the IAM Role that authorizes the destination.
public UpdateDestinationRequest withRoleArn(String roleArn)
The ARN of the IAM Role that authorizes the destination.
roleArn
- The ARN of the IAM Role that authorizes the destination.public String toString()
toString
in class Object
Object.toString()
public UpdateDestinationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()