Class AwsWafv2VisibilityConfigDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsWafv2VisibilityConfigDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsWafv2VisibilityConfigDetails.Builder,AwsWafv2VisibilityConfigDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsWafv2VisibilityConfigDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsWafv2VisibilityConfigDetails.Builder,AwsWafv2VisibilityConfigDetails>
Defines and enables Amazon CloudWatch metrics and web request sample collection.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsWafv2VisibilityConfigDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsWafv2VisibilityConfigDetails.Builderbuilder()BooleancloudWatchMetricsEnabled()A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmetricName()A name of the Amazon CloudWatch metric.BooleansampledRequestsEnabled()A boolean indicating whether WAF should store a sampling of the web requests that match the rules.List<SdkField<?>>sdkFields()static Class<? extends AwsWafv2VisibilityConfigDetails.Builder>serializableBuilderClass()AwsWafv2VisibilityConfigDetails.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
-
cloudWatchMetricsEnabled
public final Boolean cloudWatchMetricsEnabled()
A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. For the list of available metrics, see WAF metrics and dimensions in the WAF Developer Guide.
- Returns:
- A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. For the list of available metrics, see WAF metrics and dimensions in the WAF Developer Guide.
-
metricName
public final String metricName()
A name of the Amazon CloudWatch metric.
- Returns:
- A name of the Amazon CloudWatch metric.
-
sampledRequestsEnabled
public final Boolean sampledRequestsEnabled()
A boolean indicating whether WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the WAF console.
- Returns:
- A boolean indicating whether WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the WAF console.
-
toBuilder
public AwsWafv2VisibilityConfigDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsWafv2VisibilityConfigDetails.Builder,AwsWafv2VisibilityConfigDetails>
-
builder
public static AwsWafv2VisibilityConfigDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsWafv2VisibilityConfigDetails.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.
-
-