Interface AttackProperty.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AttackProperty.Builder,AttackProperty>,SdkBuilder<AttackProperty.Builder,AttackProperty>,SdkPojo
- Enclosing class:
- AttackProperty
public static interface AttackProperty.Builder extends SdkPojo, CopyableBuilder<AttackProperty.Builder,AttackProperty>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttackProperty.BuilderattackLayer(String attackLayer)The type of Shield event that was observed.AttackProperty.BuilderattackLayer(AttackLayer attackLayer)The type of Shield event that was observed.AttackProperty.BuilderattackPropertyIdentifier(String attackPropertyIdentifier)Defines the Shield event property information that is provided.AttackProperty.BuilderattackPropertyIdentifier(AttackPropertyIdentifier attackPropertyIdentifier)Defines the Shield event property information that is provided.AttackProperty.BuildertopContributors(Collection<Contributor> topContributors)Contributor objects for the top five contributors to a Shield event.AttackProperty.BuildertopContributors(Consumer<Contributor.Builder>... topContributors)Contributor objects for the top five contributors to a Shield event.AttackProperty.BuildertopContributors(Contributor... topContributors)Contributor objects for the top five contributors to a Shield event.AttackProperty.Buildertotal(Long total)The total contributions made to this Shield event by all contributors.AttackProperty.Builderunit(String unit)The unit used for theContributorValueproperty.AttackProperty.Builderunit(Unit unit)The unit used for theContributorValueproperty.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attackLayer
AttackProperty.Builder attackLayer(String attackLayer)
The type of Shield event that was observed.
NETWORKindicates layer 3 and layer 4 events andAPPLICATIONindicates layer 7 events.For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
- Parameters:
attackLayer- The type of Shield event that was observed.NETWORKindicates layer 3 and layer 4 events andAPPLICATIONindicates layer 7 events.For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AttackLayer,AttackLayer
-
attackLayer
AttackProperty.Builder attackLayer(AttackLayer attackLayer)
The type of Shield event that was observed.
NETWORKindicates layer 3 and layer 4 events andAPPLICATIONindicates layer 7 events.For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
- Parameters:
attackLayer- The type of Shield event that was observed.NETWORKindicates layer 3 and layer 4 events andAPPLICATIONindicates layer 7 events.For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AttackLayer,AttackLayer
-
attackPropertyIdentifier
AttackProperty.Builder attackPropertyIdentifier(String attackPropertyIdentifier)
Defines the Shield event property information that is provided. The
WORDPRESS_PINGBACK_REFLECTORandWORDPRESS_PINGBACK_SOURCEvalues are valid only for WordPress reflective pingback events.- Parameters:
attackPropertyIdentifier- Defines the Shield event property information that is provided. TheWORDPRESS_PINGBACK_REFLECTORandWORDPRESS_PINGBACK_SOURCEvalues are valid only for WordPress reflective pingback events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AttackPropertyIdentifier,AttackPropertyIdentifier
-
attackPropertyIdentifier
AttackProperty.Builder attackPropertyIdentifier(AttackPropertyIdentifier attackPropertyIdentifier)
Defines the Shield event property information that is provided. The
WORDPRESS_PINGBACK_REFLECTORandWORDPRESS_PINGBACK_SOURCEvalues are valid only for WordPress reflective pingback events.- Parameters:
attackPropertyIdentifier- Defines the Shield event property information that is provided. TheWORDPRESS_PINGBACK_REFLECTORandWORDPRESS_PINGBACK_SOURCEvalues are valid only for WordPress reflective pingback events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AttackPropertyIdentifier,AttackPropertyIdentifier
-
topContributors
AttackProperty.Builder topContributors(Collection<Contributor> topContributors)
Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.
- Parameters:
topContributors- Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topContributors
AttackProperty.Builder topContributors(Contributor... topContributors)
Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.
- Parameters:
topContributors- Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topContributors
AttackProperty.Builder topContributors(Consumer<Contributor.Builder>... topContributors)
Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.
This is a convenience method that creates an instance of theContributor.Builderavoiding the need to create one manually viaContributor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#topContributors(List.) - Parameters:
topContributors- a consumer that will call methods onContributor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#topContributors(java.util.Collection)
-
unit
AttackProperty.Builder unit(String unit)
The unit used for the
ContributorValueproperty.
-
unit
AttackProperty.Builder unit(Unit unit)
The unit used for the
ContributorValueproperty.
-
total
AttackProperty.Builder total(Long total)
The total contributions made to this Shield event by all contributors.
- Parameters:
total- The total contributions made to this Shield event by all contributors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-