Class AWSXRayInsightUpdate.ClientRequestImpactStatistics.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.xray.events.AWSXRayInsightUpdate.ClientRequestImpactStatistics.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSXRayInsightUpdate.ClientRequestImpactStatistics>
- Enclosing interface:
AWSXRayInsightUpdate.ClientRequestImpactStatistics
@Stability(Experimental)
public static final class AWSXRayInsightUpdate.ClientRequestImpactStatistics.Builder
extends Object
implements software.amazon.jsii.Builder<AWSXRayInsightUpdate.ClientRequestImpactStatistics>
A builder for
AWSXRayInsightUpdate.ClientRequestImpactStatistics-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.faultCount(List<String> faultCount) Sets the value ofAWSXRayInsightUpdate.ClientRequestImpactStatistics.getFaultCount()Sets the value ofAWSXRayInsightUpdate.ClientRequestImpactStatistics.getOkCount()totalCount(List<String> totalCount) Sets the value ofAWSXRayInsightUpdate.ClientRequestImpactStatistics.getTotalCount()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
faultCount
@Stability(Experimental) public AWSXRayInsightUpdate.ClientRequestImpactStatistics.Builder faultCount(List<String> faultCount) Sets the value ofAWSXRayInsightUpdate.ClientRequestImpactStatistics.getFaultCount()- Parameters:
faultCount- FaultCount property. Specify an array of string values to match this event if the actual value of FaultCount is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
okCount
@Stability(Experimental) public AWSXRayInsightUpdate.ClientRequestImpactStatistics.Builder okCount(List<String> okCount) Sets the value ofAWSXRayInsightUpdate.ClientRequestImpactStatistics.getOkCount()- Parameters:
okCount- OkCount property. Specify an array of string values to match this event if the actual value of OkCount is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
totalCount
@Stability(Experimental) public AWSXRayInsightUpdate.ClientRequestImpactStatistics.Builder totalCount(List<String> totalCount) Sets the value ofAWSXRayInsightUpdate.ClientRequestImpactStatistics.getTotalCount()- Parameters:
totalCount- TotalCount property. Specify an array of string values to match this event if the actual value of TotalCount is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AWSXRayInsightUpdate.ClientRequestImpactStatistics>- Returns:
- a new instance of
AWSXRayInsightUpdate.ClientRequestImpactStatistics - Throws:
NullPointerException- if any required attribute was not provided
-