@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoggingInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Amazon Simple Storage Service (Amazon S3) bucket to write managed node-level logs to.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to
contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Amazon Web Services 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 Amazon Web Services Region where the S3 bucket is located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services Region where the S3 bucket is located.
s3Region
- The Amazon Web Services Region where the S3 bucket is located.public String getS3Region()
The Amazon Web Services Region where the S3 bucket is located.
public LoggingInfo withS3Region(String s3Region)
The Amazon Web Services Region where the S3 bucket is located.
s3Region
- The Amazon Web Services Region where the S3 bucket is located.public String toString()
toString
in class Object
Object.toString()
public LoggingInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.