@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDestinationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDestinationResult() |
Modifier and Type | Method and Description |
---|---|
GetDestinationResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name of the resource.
|
String |
getDescription()
The description of the resource.
|
String |
getExpression()
The rule name or topic rule to send messages to.
|
String |
getExpressionType()
The type of value in
Expression . |
String |
getName()
The name of the resource.
|
String |
getRoleArn()
The ARN of the IAM Role that authorizes the destination.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name of the resource.
|
void |
setDescription(String description)
The description of the resource.
|
void |
setExpression(String expression)
The rule name or topic rule to send messages to.
|
void |
setExpressionType(String expressionType)
The type of value in
Expression . |
void |
setName(String name)
The 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.
|
GetDestinationResult |
withArn(String arn)
The Amazon Resource Name of the resource.
|
GetDestinationResult |
withDescription(String description)
The description of the resource.
|
GetDestinationResult |
withExpression(String expression)
The rule name or topic rule to send messages to.
|
GetDestinationResult |
withExpressionType(ExpressionType expressionType)
The type of value in
Expression . |
GetDestinationResult |
withExpressionType(String expressionType)
The type of value in
Expression . |
GetDestinationResult |
withName(String name)
The name of the resource.
|
GetDestinationResult |
withRoleArn(String roleArn)
The ARN of the IAM Role that authorizes the destination.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The Amazon Resource Name of the resource.
arn
- The Amazon Resource Name of the resource.public String getArn()
The Amazon Resource Name of the resource.
public GetDestinationResult withArn(String arn)
The Amazon Resource Name of the resource.
arn
- The Amazon Resource Name of the resource.public void setName(String name)
The name of the resource.
name
- The name of the resource.public String getName()
The name of the resource.
public GetDestinationResult withName(String name)
The name of the resource.
name
- The name of the resource.public void setExpression(String expression)
The rule name or topic rule to send messages to.
expression
- The rule name or topic rule to send messages to.public String getExpression()
The rule name or topic rule to send messages to.
public GetDestinationResult withExpression(String expression)
The rule name or topic rule to send messages to.
expression
- The rule name or topic rule to send messages to.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 GetDestinationResult withExpressionType(String expressionType)
The type of value in Expression
.
expressionType
- The type of value in Expression
.ExpressionType
public GetDestinationResult withExpressionType(ExpressionType expressionType)
The type of value in Expression
.
expressionType
- The type of value in Expression
.ExpressionType
public void setDescription(String description)
The description of the resource.
description
- The description of the resource.public String getDescription()
The description of the resource.
public GetDestinationResult withDescription(String description)
The description of the resource.
description
- The 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 GetDestinationResult 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 GetDestinationResult clone()