@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeArchiveResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeArchiveResult() |
Modifier and Type | Method and Description |
---|---|
DescribeArchiveResult |
clone() |
boolean |
equals(Object obj) |
String |
getArchiveArn()
The ARN of the archive.
|
String |
getArchiveName()
The name of the archive.
|
Date |
getCreationTime()
The time at which the archive was created.
|
String |
getDescription()
The description of the archive.
|
Long |
getEventCount()
The number of events in the archive.
|
String |
getEventPattern()
The event pattern used to filter events sent to the archive.
|
String |
getEventSourceArn()
The ARN of the event source associated with the archive.
|
Integer |
getRetentionDays()
The number of days to retain events for in the archive.
|
Long |
getSizeBytes()
The size of the archive in bytes.
|
String |
getState()
The state of the archive.
|
String |
getStateReason()
The reason that the archive is in the state.
|
int |
hashCode() |
void |
setArchiveArn(String archiveArn)
The ARN of the archive.
|
void |
setArchiveName(String archiveName)
The name of the archive.
|
void |
setCreationTime(Date creationTime)
The time at which the archive was created.
|
void |
setDescription(String description)
The description of the archive.
|
void |
setEventCount(Long eventCount)
The number of events in the archive.
|
void |
setEventPattern(String eventPattern)
The event pattern used to filter events sent to the archive.
|
void |
setEventSourceArn(String eventSourceArn)
The ARN of the event source associated with the archive.
|
void |
setRetentionDays(Integer retentionDays)
The number of days to retain events for in the archive.
|
void |
setSizeBytes(Long sizeBytes)
The size of the archive in bytes.
|
void |
setState(String state)
The state of the archive.
|
void |
setStateReason(String stateReason)
The reason that the archive is in the state.
|
String |
toString()
Returns a string representation of this object.
|
DescribeArchiveResult |
withArchiveArn(String archiveArn)
The ARN of the archive.
|
DescribeArchiveResult |
withArchiveName(String archiveName)
The name of the archive.
|
DescribeArchiveResult |
withCreationTime(Date creationTime)
The time at which the archive was created.
|
DescribeArchiveResult |
withDescription(String description)
The description of the archive.
|
DescribeArchiveResult |
withEventCount(Long eventCount)
The number of events in the archive.
|
DescribeArchiveResult |
withEventPattern(String eventPattern)
The event pattern used to filter events sent to the archive.
|
DescribeArchiveResult |
withEventSourceArn(String eventSourceArn)
The ARN of the event source associated with the archive.
|
DescribeArchiveResult |
withRetentionDays(Integer retentionDays)
The number of days to retain events for in the archive.
|
DescribeArchiveResult |
withSizeBytes(Long sizeBytes)
The size of the archive in bytes.
|
DescribeArchiveResult |
withState(ArchiveState state)
The state of the archive.
|
DescribeArchiveResult |
withState(String state)
The state of the archive.
|
DescribeArchiveResult |
withStateReason(String stateReason)
The reason that the archive is in the state.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArchiveArn(String archiveArn)
The ARN of the archive.
archiveArn
- The ARN of the archive.public String getArchiveArn()
The ARN of the archive.
public DescribeArchiveResult withArchiveArn(String archiveArn)
The ARN of the archive.
archiveArn
- The ARN of the archive.public void setArchiveName(String archiveName)
The name of the archive.
archiveName
- The name of the archive.public String getArchiveName()
The name of the archive.
public DescribeArchiveResult withArchiveName(String archiveName)
The name of the archive.
archiveName
- The name of the archive.public void setEventSourceArn(String eventSourceArn)
The ARN of the event source associated with the archive.
eventSourceArn
- The ARN of the event source associated with the archive.public String getEventSourceArn()
The ARN of the event source associated with the archive.
public DescribeArchiveResult withEventSourceArn(String eventSourceArn)
The ARN of the event source associated with the archive.
eventSourceArn
- The ARN of the event source associated with the archive.public void setDescription(String description)
The description of the archive.
description
- The description of the archive.public String getDescription()
The description of the archive.
public DescribeArchiveResult withDescription(String description)
The description of the archive.
description
- The description of the archive.public void setEventPattern(String eventPattern)
The event pattern used to filter events sent to the archive.
eventPattern
- The event pattern used to filter events sent to the archive.public String getEventPattern()
The event pattern used to filter events sent to the archive.
public DescribeArchiveResult withEventPattern(String eventPattern)
The event pattern used to filter events sent to the archive.
eventPattern
- The event pattern used to filter events sent to the archive.public void setState(String state)
The state of the archive.
state
- The state of the archive.ArchiveState
public String getState()
The state of the archive.
ArchiveState
public DescribeArchiveResult withState(String state)
The state of the archive.
state
- The state of the archive.ArchiveState
public DescribeArchiveResult withState(ArchiveState state)
The state of the archive.
state
- The state of the archive.ArchiveState
public void setStateReason(String stateReason)
The reason that the archive is in the state.
stateReason
- The reason that the archive is in the state.public String getStateReason()
The reason that the archive is in the state.
public DescribeArchiveResult withStateReason(String stateReason)
The reason that the archive is in the state.
stateReason
- The reason that the archive is in the state.public void setRetentionDays(Integer retentionDays)
The number of days to retain events for in the archive.
retentionDays
- The number of days to retain events for in the archive.public Integer getRetentionDays()
The number of days to retain events for in the archive.
public DescribeArchiveResult withRetentionDays(Integer retentionDays)
The number of days to retain events for in the archive.
retentionDays
- The number of days to retain events for in the archive.public void setSizeBytes(Long sizeBytes)
The size of the archive in bytes.
sizeBytes
- The size of the archive in bytes.public Long getSizeBytes()
The size of the archive in bytes.
public DescribeArchiveResult withSizeBytes(Long sizeBytes)
The size of the archive in bytes.
sizeBytes
- The size of the archive in bytes.public void setEventCount(Long eventCount)
The number of events in the archive.
eventCount
- The number of events in the archive.public Long getEventCount()
The number of events in the archive.
public DescribeArchiveResult withEventCount(Long eventCount)
The number of events in the archive.
eventCount
- The number of events in the archive.public void setCreationTime(Date creationTime)
The time at which the archive was created.
creationTime
- The time at which the archive was created.public Date getCreationTime()
The time at which the archive was created.
public DescribeArchiveResult withCreationTime(Date creationTime)
The time at which the archive was created.
creationTime
- The time at which the archive was created.public String toString()
toString
in class Object
Object.toString()
public DescribeArchiveResult clone()