@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoggingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Consists of the logging role and the log group name.
Constructor and Description |
---|
LoggingConfiguration() |
Modifier and Type | Method and Description |
---|---|
LoggingConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getLoggingRole()
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on
Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents.
|
String |
getLogGroupName()
The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLoggingRole(String loggingRole)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on
Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents.
|
void |
setLogGroupName(String logGroupName)
The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.
|
String |
toString()
Returns a string representation of this object.
|
LoggingConfiguration |
withLoggingRole(String loggingRole)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on
Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents.
|
LoggingConfiguration |
withLogGroupName(String logGroupName)
The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.
|
public void setLoggingRole(String loggingRole)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.
loggingRole
- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to
turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity
in your CloudWatch logs.public String getLoggingRole()
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.
public LoggingConfiguration withLoggingRole(String loggingRole)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.
loggingRole
- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to
turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity
in your CloudWatch logs.public void setLogGroupName(String logGroupName)
The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.
logGroupName
- The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.public String getLogGroupName()
The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.
public LoggingConfiguration withLogGroupName(String logGroupName)
The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.
logGroupName
- The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.public String toString()
toString
in class Object
Object.toString()
public LoggingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.