Class AccessLog
- java.lang.Object
-
- software.amazon.awssdk.services.elasticloadbalancing.model.AccessLog
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AccessLog.Builder,AccessLog>
@Generated("software.amazon.awssdk:codegen") public final class AccessLog extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccessLog.Builder,AccessLog>
Information about the
AccessLog
attribute.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AccessLog.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessLog.Builder
builder()
Integer
emitInterval()
The interval for publishing the access logs.Boolean
enabled()
Specifies whether access logs are enabled for the load balancer.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
s3BucketName()
The name of the Amazon S3 bucket where the access logs are stored.String
s3BucketPrefix()
The logical hierarchy you created for your Amazon S3 bucket, for examplemy-bucket-prefix/prod
.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends AccessLog.Builder>
serializableBuilderClass()
AccessLog.Builder
toBuilder()
String
toString()
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
-
enabled
public final Boolean enabled()
Specifies whether access logs are enabled for the load balancer.
- Returns:
- Specifies whether access logs are enabled for the load balancer.
-
s3BucketName
public final String s3BucketName()
The name of the Amazon S3 bucket where the access logs are stored.
- Returns:
- The name of the Amazon S3 bucket where the access logs are stored.
-
emitInterval
public final Integer emitInterval()
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
- Returns:
- The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60
minutes.
Default: 60 minutes
-
s3BucketPrefix
public final String s3BucketPrefix()
The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod
. If the prefix is not provided, the log is placed at the root level of the bucket.- Returns:
- The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod
. If the prefix is not provided, the log is placed at the root level of the bucket.
-
toBuilder
public AccessLog.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AccessLog.Builder,AccessLog>
-
builder
public static AccessLog.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccessLog.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-