Class AWSXRayInsightUpdate.Event.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.xray.events.AWSXRayInsightUpdate.Event.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSXRayInsightUpdate.Event>
- Enclosing interface:
AWSXRayInsightUpdate.Event
@Stability(Experimental)
public static final class AWSXRayInsightUpdate.Event.Builder
extends Object
implements software.amazon.jsii.Builder<AWSXRayInsightUpdate.Event>
A builder for
AWSXRayInsightUpdate.Event-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clientRequestImpactStatistics(AWSXRayInsightUpdate.ClientRequestImpactStatistics clientRequestImpactStatistics) Sets the value ofAWSXRayInsightUpdate.Event.getClientRequestImpactStatistics()Sets the value ofAWSXRayInsightUpdate.Event.getEventTime()rootCauseServiceRequestImpactStatistics(AWSXRayInsightUpdate.ClientRequestImpactStatistics rootCauseServiceRequestImpactStatistics) Sets the value ofAWSXRayInsightUpdate.Event.getRootCauseServiceRequestImpactStatistics()Sets the value ofAWSXRayInsightUpdate.Event.getSummary()topAnomalousServices(List<? extends AWSXRayInsightUpdate.AwsxRayInsightUpdateItem> topAnomalousServices) Sets the value ofAWSXRayInsightUpdate.Event.getTopAnomalousServices()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientRequestImpactStatistics
@Stability(Experimental) public AWSXRayInsightUpdate.Event.Builder clientRequestImpactStatistics(AWSXRayInsightUpdate.ClientRequestImpactStatistics clientRequestImpactStatistics) Sets the value ofAWSXRayInsightUpdate.Event.getClientRequestImpactStatistics()- Parameters:
clientRequestImpactStatistics- ClientRequestImpactStatistics property. Specify an array of string values to match this event if the actual value of ClientRequestImpactStatistics is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventTime
@Stability(Experimental) public AWSXRayInsightUpdate.Event.Builder eventTime(List<String> eventTime) Sets the value ofAWSXRayInsightUpdate.Event.getEventTime()- Parameters:
eventTime- EventTime property. Specify an array of string values to match this event if the actual value of EventTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
rootCauseServiceRequestImpactStatistics
@Stability(Experimental) public AWSXRayInsightUpdate.Event.Builder rootCauseServiceRequestImpactStatistics(AWSXRayInsightUpdate.ClientRequestImpactStatistics rootCauseServiceRequestImpactStatistics) Sets the value ofAWSXRayInsightUpdate.Event.getRootCauseServiceRequestImpactStatistics()- Parameters:
rootCauseServiceRequestImpactStatistics- RootCauseServiceRequestImpactStatistics property. Specify an array of string values to match this event if the actual value of RootCauseServiceRequestImpactStatistics is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
summary
Sets the value ofAWSXRayInsightUpdate.Event.getSummary()- Parameters:
summary- Summary property. Specify an array of string values to match this event if the actual value of Summary is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
topAnomalousServices
@Stability(Experimental) public AWSXRayInsightUpdate.Event.Builder topAnomalousServices(List<? extends AWSXRayInsightUpdate.AwsxRayInsightUpdateItem> topAnomalousServices) Sets the value ofAWSXRayInsightUpdate.Event.getTopAnomalousServices()- Parameters:
topAnomalousServices- TopAnomalousServices property. Specify an array of string values to match this event if the actual value of TopAnomalousServices 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.Event>- Returns:
- a new instance of
AWSXRayInsightUpdate.Event - Throws:
NullPointerException- if any required attribute was not provided
-