@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplayDestination extends Object implements Serializable, Cloneable, StructuredPojo
A ReplayDestination
object that contains details about a replay.
Constructor and Description |
---|
ReplayDestination() |
Modifier and Type | Method and Description |
---|---|
ReplayDestination |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the event bus to replay event to.
|
List<String> |
getFilterArns()
A list of ARNs for rules to replay events to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the event bus to replay event to.
|
void |
setFilterArns(Collection<String> filterArns)
A list of ARNs for rules to replay events to.
|
String |
toString()
Returns a string representation of this object.
|
ReplayDestination |
withArn(String arn)
The ARN of the event bus to replay event to.
|
ReplayDestination |
withFilterArns(Collection<String> filterArns)
A list of ARNs for rules to replay events to.
|
ReplayDestination |
withFilterArns(String... filterArns)
A list of ARNs for rules to replay events to.
|
public void setArn(String arn)
The ARN of the event bus to replay event to. You can replay events only to the event bus specified to create the archive.
arn
- The ARN of the event bus to replay event to. You can replay events only to the event bus specified to
create the archive.public String getArn()
The ARN of the event bus to replay event to. You can replay events only to the event bus specified to create the archive.
public ReplayDestination withArn(String arn)
The ARN of the event bus to replay event to. You can replay events only to the event bus specified to create the archive.
arn
- The ARN of the event bus to replay event to. You can replay events only to the event bus specified to
create the archive.public List<String> getFilterArns()
A list of ARNs for rules to replay events to.
public void setFilterArns(Collection<String> filterArns)
A list of ARNs for rules to replay events to.
filterArns
- A list of ARNs for rules to replay events to.public ReplayDestination withFilterArns(String... filterArns)
A list of ARNs for rules to replay events to.
NOTE: This method appends the values to the existing list (if any). Use
setFilterArns(java.util.Collection)
or withFilterArns(java.util.Collection)
if you want to
override the existing values.
filterArns
- A list of ARNs for rules to replay events to.public ReplayDestination withFilterArns(Collection<String> filterArns)
A list of ARNs for rules to replay events to.
filterArns
- A list of ARNs for rules to replay events to.public String toString()
toString
in class Object
Object.toString()
public ReplayDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.