Class S3Config
- java.lang.Object
-
- software.amazon.awssdk.services.internetmonitor.model.S3Config
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3Config.Builder,S3Config>
@Generated("software.amazon.awssdk:codegen") public final class S3Config extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Config.Builder,S3Config>
The configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3. The configuration includes the bucket name and (optionally) prefix for the S3 bucket to store the measurements, and the delivery status. The delivery status is
ENABLEDorDISABLED, depending on whether you choose to deliver internet measurements to S3 logs.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3Config.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbucketName()The Amazon S3 bucket name.StringbucketPrefix()The Amazon S3 bucket prefix.static S3Config.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LogDeliveryStatuslogDeliveryStatus()The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.StringlogDeliveryStatusAsString()The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.List<SdkField<?>>sdkFields()static Class<? extends S3Config.Builder>serializableBuilderClass()S3Config.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
-
bucketName
public final String bucketName()
The Amazon S3 bucket name.
- Returns:
- The Amazon S3 bucket name.
-
bucketPrefix
public final String bucketPrefix()
The Amazon S3 bucket prefix.
- Returns:
- The Amazon S3 bucket prefix.
-
logDeliveryStatus
public final LogDeliveryStatus logDeliveryStatus()
The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
If the service returns an enum value that is not available in the current SDK version,
logDeliveryStatuswill returnLogDeliveryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogDeliveryStatusAsString().- Returns:
- The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
- See Also:
LogDeliveryStatus
-
logDeliveryStatusAsString
public final String logDeliveryStatusAsString()
The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
If the service returns an enum value that is not available in the current SDK version,
logDeliveryStatuswill returnLogDeliveryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogDeliveryStatusAsString().- Returns:
- The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
- See Also:
LogDeliveryStatus
-
toBuilder
public S3Config.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3Config.Builder,S3Config>
-
builder
public static S3Config.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3Config.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.
-
-