@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapshotJobS3Result extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon S3 result from the snapshot job. The result includes the DestinationConfiguration
and the
Amazon S3 Uri. If an error occured during the job, the result returns information on the error.
Constructor and Description |
---|
SnapshotJobS3Result() |
Modifier and Type | Method and Description |
---|---|
SnapshotJobS3Result |
clone() |
boolean |
equals(Object obj) |
List<SnapshotJobResultErrorInfo> |
getErrorInfo()
An array of error records that describe any failures that occur while the dashboard snapshot job runs.
|
SnapshotS3DestinationConfiguration |
getS3DestinationConfiguration()
A list of Amazon S3 bucket configurations that are provided when you make a
StartDashboardSnapshotJob API call. |
String |
getS3Uri()
The Amazon S3 Uri.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorInfo(Collection<SnapshotJobResultErrorInfo> errorInfo)
An array of error records that describe any failures that occur while the dashboard snapshot job runs.
|
void |
setS3DestinationConfiguration(SnapshotS3DestinationConfiguration s3DestinationConfiguration)
A list of Amazon S3 bucket configurations that are provided when you make a
StartDashboardSnapshotJob API call. |
void |
setS3Uri(String s3Uri)
The Amazon S3 Uri.
|
String |
toString()
Returns a string representation of this object.
|
SnapshotJobS3Result |
withErrorInfo(Collection<SnapshotJobResultErrorInfo> errorInfo)
An array of error records that describe any failures that occur while the dashboard snapshot job runs.
|
SnapshotJobS3Result |
withErrorInfo(SnapshotJobResultErrorInfo... errorInfo)
An array of error records that describe any failures that occur while the dashboard snapshot job runs.
|
SnapshotJobS3Result |
withS3DestinationConfiguration(SnapshotS3DestinationConfiguration s3DestinationConfiguration)
A list of Amazon S3 bucket configurations that are provided when you make a
StartDashboardSnapshotJob API call. |
SnapshotJobS3Result |
withS3Uri(String s3Uri)
The Amazon S3 Uri.
|
public void setS3DestinationConfiguration(SnapshotS3DestinationConfiguration s3DestinationConfiguration)
A list of Amazon S3 bucket configurations that are provided when you make a
StartDashboardSnapshotJob
API call.
s3DestinationConfiguration
- A list of Amazon S3 bucket configurations that are provided when you make a
StartDashboardSnapshotJob
API call.public SnapshotS3DestinationConfiguration getS3DestinationConfiguration()
A list of Amazon S3 bucket configurations that are provided when you make a
StartDashboardSnapshotJob
API call.
StartDashboardSnapshotJob
API call.public SnapshotJobS3Result withS3DestinationConfiguration(SnapshotS3DestinationConfiguration s3DestinationConfiguration)
A list of Amazon S3 bucket configurations that are provided when you make a
StartDashboardSnapshotJob
API call.
s3DestinationConfiguration
- A list of Amazon S3 bucket configurations that are provided when you make a
StartDashboardSnapshotJob
API call.public void setS3Uri(String s3Uri)
The Amazon S3 Uri.
s3Uri
- The Amazon S3 Uri.public String getS3Uri()
The Amazon S3 Uri.
public SnapshotJobS3Result withS3Uri(String s3Uri)
The Amazon S3 Uri.
s3Uri
- The Amazon S3 Uri.public List<SnapshotJobResultErrorInfo> getErrorInfo()
An array of error records that describe any failures that occur while the dashboard snapshot job runs.
public void setErrorInfo(Collection<SnapshotJobResultErrorInfo> errorInfo)
An array of error records that describe any failures that occur while the dashboard snapshot job runs.
errorInfo
- An array of error records that describe any failures that occur while the dashboard snapshot job runs.public SnapshotJobS3Result withErrorInfo(SnapshotJobResultErrorInfo... errorInfo)
An array of error records that describe any failures that occur while the dashboard snapshot job runs.
NOTE: This method appends the values to the existing list (if any). Use
setErrorInfo(java.util.Collection)
or withErrorInfo(java.util.Collection)
if you want to
override the existing values.
errorInfo
- An array of error records that describe any failures that occur while the dashboard snapshot job runs.public SnapshotJobS3Result withErrorInfo(Collection<SnapshotJobResultErrorInfo> errorInfo)
An array of error records that describe any failures that occur while the dashboard snapshot job runs.
errorInfo
- An array of error records that describe any failures that occur while the dashboard snapshot job runs.public String toString()
toString
in class Object
Object.toString()
public SnapshotJobS3Result clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.