@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()
Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role
that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events.
|
String |
getLogGroupName()
The name of the CloudWatch logging group for the Amazon Web Services Transfer server to which this workflow
belongs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLoggingRole(String loggingRole)
Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role
that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events.
|
void |
setLogGroupName(String logGroupName)
The name of the CloudWatch logging group for the Amazon Web Services Transfer server to which this workflow
belongs.
|
String |
toString()
Returns a string representation of this object.
|
LoggingConfiguration |
withLoggingRole(String loggingRole)
Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role
that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events.
|
LoggingConfiguration |
withLogGroupName(String logGroupName)
The name of the CloudWatch logging group for the Amazon Web Services Transfer server to which this workflow
belongs.
|
public void setLoggingRole(String loggingRole)
Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs.
loggingRole
- Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM)
role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When
set, user activity can be viewed in your CloudWatch logs.public String getLoggingRole()
Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs.
public LoggingConfiguration withLoggingRole(String loggingRole)
Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs.
loggingRole
- Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM)
role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When
set, user activity can be viewed in your CloudWatch logs.public void setLogGroupName(String logGroupName)
The name of the CloudWatch logging group for the Amazon Web Services Transfer server to which this workflow belongs.
logGroupName
- The name of the CloudWatch logging group for the Amazon Web Services Transfer server to which this
workflow belongs.public String getLogGroupName()
The name of the CloudWatch logging group for the Amazon Web Services Transfer server to which this workflow belongs.
public LoggingConfiguration withLogGroupName(String logGroupName)
The name of the CloudWatch logging group for the Amazon Web Services Transfer server to which this workflow belongs.
logGroupName
- The name of the CloudWatch logging group for the Amazon Web Services Transfer 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.