Interface CreatePerformanceMonitorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreatePerformanceMonitorResponse.Builder,,CreatePerformanceMonitorResponse> NetworkFlowMonitorResponse.Builder,SdkBuilder<CreatePerformanceMonitorResponse.Builder,,CreatePerformanceMonitorResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreatePerformanceMonitorResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time when the performance monitor was created.modifiedAt(Instant modifiedAt) The date and time when the performance monitor was last modified.monitorArn(String monitorArn) The Amazon Resource Name (ARN) of the performance monitor.monitorName(String monitorName) The name of the performance monitor.monitorStatus(String monitorStatus) The status of a performance monitor.monitorStatus(MonitorStatus monitorStatus) The status of a performance monitor.monitorType(String monitorType) The type of resource that you monitor determines the type of the performance monitor.monitorType(PerformanceMonitorType monitorType) The type of resource that you monitor determines the type of the performance monitor.The tags for a performance monitor.targets(Collection<PerformanceMonitorTarget> targets) The resources that the performance monitor tracks network performance for.targets(Consumer<PerformanceMonitorTarget.Builder>... targets) The resources that the performance monitor tracks network performance for.targets(PerformanceMonitorTarget... targets) The resources that the performance monitor tracks network performance for.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkflowmonitor.model.NetworkFlowMonitorResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
monitorArn
The Amazon Resource Name (ARN) of the performance monitor.
- Parameters:
monitorArn- The Amazon Resource Name (ARN) of the performance monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorName
The name of the performance monitor.
- Parameters:
monitorName- The name of the performance monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorStatus
The status of a performance monitor. The status can be one of the following
-
PENDING: The performance monitor is in the process of being created. -
ACTIVE: The performance monitor is active. -
INACTIVE: The performance monitor is inactive. -
ERROR: The performance monitor can't be created or updated. -
DELETING: The performance monitor is in the process of being deleted.
- Parameters:
monitorStatus- The status of a performance monitor. The status can be one of the following-
PENDING: The performance monitor is in the process of being created. -
ACTIVE: The performance monitor is active. -
INACTIVE: The performance monitor is inactive. -
ERROR: The performance monitor can't be created or updated. -
DELETING: The performance monitor is in the process of being deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
monitorStatus
The status of a performance monitor. The status can be one of the following
-
PENDING: The performance monitor is in the process of being created. -
ACTIVE: The performance monitor is active. -
INACTIVE: The performance monitor is inactive. -
ERROR: The performance monitor can't be created or updated. -
DELETING: The performance monitor is in the process of being deleted.
- Parameters:
monitorStatus- The status of a performance monitor. The status can be one of the following-
PENDING: The performance monitor is in the process of being created. -
ACTIVE: The performance monitor is active. -
INACTIVE: The performance monitor is inactive. -
ERROR: The performance monitor can't be created or updated. -
DELETING: The performance monitor is in the process of being deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
monitorType
The type of resource that you monitor determines the type of the performance monitor.
- Parameters:
monitorType- The type of resource that you monitor determines the type of the performance monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitorType
The type of resource that you monitor determines the type of the performance monitor.
- Parameters:
monitorType- The type of resource that you monitor determines the type of the performance monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targets
The resources that the performance monitor tracks network performance for.
- Parameters:
targets- The resources that the performance monitor tracks network performance for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The resources that the performance monitor tracks network performance for.
- Parameters:
targets- The resources that the performance monitor tracks network performance for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
CreatePerformanceMonitorResponse.Builder targets(Consumer<PerformanceMonitorTarget.Builder>... targets) The resources that the performance monitor tracks network performance for.
This is a convenience method that creates an instance of thePerformanceMonitorTarget.Builderavoiding the need to create one manually viaPerformanceMonitorTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargets(List<PerformanceMonitorTarget>).- Parameters:
targets- a consumer that will call methods onPerformanceMonitorTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time when the performance monitor was created.
- Parameters:
createdAt- The date and time when the performance monitor was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The date and time when the performance monitor was last modified.
- Parameters:
modifiedAt- The date and time when the performance monitor was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for a performance monitor.
- Parameters:
tags- The tags for a performance monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-