Interface GetMonitorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetMonitorResponse.Builder,
,GetMonitorResponse> NetworkFlowMonitorResponse.Builder
,SdkBuilder<GetMonitorResponse.Builder,
,GetMonitorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMonitorResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time when the monitor was created.localResources
(Collection<MonitorLocalResource> localResources) The local resources for this monitor.localResources
(Consumer<MonitorLocalResource.Builder>... localResources) The local resources for this monitor.localResources
(MonitorLocalResource... localResources) The local resources for this monitor.modifiedAt
(Instant modifiedAt) The date and time when the monitor was last modified.monitorArn
(String monitorArn) The Amazon Resource Name (ARN) of the monitor.monitorName
(String monitorName) The name of the monitor.monitorStatus
(String monitorStatus) The status of a monitor.monitorStatus
(MonitorStatus monitorStatus) The status of a monitor.remoteResources
(Collection<MonitorRemoteResource> remoteResources) The remote resources for this monitor.remoteResources
(Consumer<MonitorRemoteResource.Builder>... remoteResources) The remote resources for this monitor.remoteResources
(MonitorRemoteResource... remoteResources) The remote resources for this monitor.The tags for a monitor.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkflowmonitor.model.NetworkFlowMonitorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
monitorArn
The Amazon Resource Name (ARN) of the monitor.
- Parameters:
monitorArn
- The Amazon Resource Name (ARN) of the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorName
The name of the monitor.
- Parameters:
monitorName
- The name of the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorStatus
The status of a monitor. The status can be one of the following
-
PENDING
: The monitor is in the process of being created. -
ACTIVE
: The monitor is active. -
INACTIVE
: The monitor is inactive. -
ERROR
: Monitor creation failed due to an error. -
DELETING
: The monitor is in the process of being deleted.
- Parameters:
monitorStatus
- The status of a monitor. The status can be one of the following-
PENDING
: The monitor is in the process of being created. -
ACTIVE
: The monitor is active. -
INACTIVE
: The monitor is inactive. -
ERROR
: Monitor creation failed due to an error. -
DELETING
: The 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 monitor. The status can be one of the following
-
PENDING
: The monitor is in the process of being created. -
ACTIVE
: The monitor is active. -
INACTIVE
: The monitor is inactive. -
ERROR
: Monitor creation failed due to an error. -
DELETING
: The monitor is in the process of being deleted.
- Parameters:
monitorStatus
- The status of a monitor. The status can be one of the following-
PENDING
: The monitor is in the process of being created. -
ACTIVE
: The monitor is active. -
INACTIVE
: The monitor is inactive. -
ERROR
: Monitor creation failed due to an error. -
DELETING
: The 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:
-
-
localResources
The local resources for this monitor.
- Parameters:
localResources
- The local resources for this monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localResources
The local resources for this monitor.
- Parameters:
localResources
- The local resources for this monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localResources
The local resources for this monitor.
This is a convenience method that creates an instance of theMonitorLocalResource.Builder
avoiding the need to create one manually viaMonitorLocalResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocalResources(List<MonitorLocalResource>)
.- Parameters:
localResources
- a consumer that will call methods onMonitorLocalResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remoteResources
The remote resources for this monitor.
- Parameters:
remoteResources
- The remote resources for this monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteResources
The remote resources for this monitor.
- Parameters:
remoteResources
- The remote resources for this monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteResources
GetMonitorResponse.Builder remoteResources(Consumer<MonitorRemoteResource.Builder>... remoteResources) The remote resources for this monitor.
This is a convenience method that creates an instance of theMonitorRemoteResource.Builder
avoiding the need to create one manually viaMonitorRemoteResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toremoteResources(List<MonitorRemoteResource>)
.- Parameters:
remoteResources
- a consumer that will call methods onMonitorRemoteResource.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 monitor was created.
- Parameters:
createdAt
- The date and time when the 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 monitor was last modified.
- Parameters:
modifiedAt
- The date and time when the monitor was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for a monitor.
- Parameters:
tags
- The tags for a monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-