Class LoggingConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.transfer.model.LoggingConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class LoggingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>
Consists of the logging role and the log group name.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLoggingConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoggingConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringloggingRole()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.StringlogGroupName()The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LoggingConfiguration.Builder>serializableBuilderClass()LoggingConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
loggingRole
public final 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.
- Returns:
- 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.
-
logGroupName
public final String logGroupName()
The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.
- Returns:
- The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.
-
toBuilder
public LoggingConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>
-
builder
public static LoggingConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends LoggingConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-