@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoggingInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about an S3 bucket to write instance-level logs to.
LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName and OutputS3KeyPrefix options in the
TaskInvocationParameters structure. For information about how Systems Manager handles these options for
the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
| Constructor and Description |
|---|
LoggingInfo() |
| Modifier and Type | Method and Description |
|---|---|
LoggingInfo |
clone() |
boolean |
equals(Object obj) |
String |
getS3BucketName()
The name of an S3 bucket where execution logs are stored .
|
String |
getS3KeyPrefix()
(Optional) The S3 bucket subfolder.
|
String |
getS3Region()
The Region where the S3 bucket is located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setS3BucketName(String s3BucketName)
The name of an S3 bucket where execution logs are stored .
|
void |
setS3KeyPrefix(String s3KeyPrefix)
(Optional) The S3 bucket subfolder.
|
void |
setS3Region(String s3Region)
The Region where the S3 bucket is located.
|
String |
toString()
Returns a string representation of this object.
|
LoggingInfo |
withS3BucketName(String s3BucketName)
The name of an S3 bucket where execution logs are stored .
|
LoggingInfo |
withS3KeyPrefix(String s3KeyPrefix)
(Optional) The S3 bucket subfolder.
|
LoggingInfo |
withS3Region(String s3Region)
The Region where the S3 bucket is located.
|
public void setS3BucketName(String s3BucketName)
The name of an S3 bucket where execution logs are stored .
s3BucketName - The name of an S3 bucket where execution logs are stored .public String getS3BucketName()
The name of an S3 bucket where execution logs are stored .
public LoggingInfo withS3BucketName(String s3BucketName)
The name of an S3 bucket where execution logs are stored .
s3BucketName - The name of an S3 bucket where execution logs are stored .public void setS3KeyPrefix(String s3KeyPrefix)
(Optional) The S3 bucket subfolder.
s3KeyPrefix - (Optional) The S3 bucket subfolder.public String getS3KeyPrefix()
(Optional) The S3 bucket subfolder.
public LoggingInfo withS3KeyPrefix(String s3KeyPrefix)
(Optional) The S3 bucket subfolder.
s3KeyPrefix - (Optional) The S3 bucket subfolder.public void setS3Region(String s3Region)
The Region where the S3 bucket is located.
s3Region - The Region where the S3 bucket is located.public String getS3Region()
The Region where the S3 bucket is located.
public LoggingInfo withS3Region(String s3Region)
The Region where the S3 bucket is located.
s3Region - The Region where the S3 bucket is located.public String toString()
toString in class ObjectObject.toString()public LoggingInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.