Interface UpdateMonitorResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateMonitorResponse.Builder,UpdateMonitorResponse>,NetworkFlowMonitorResponse.Builder,SdkBuilder<UpdateMonitorResponse.Builder,UpdateMonitorResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateMonitorResponse
public static interface UpdateMonitorResponse.Builder extends NetworkFlowMonitorResponse.Builder, SdkPojo, CopyableBuilder<UpdateMonitorResponse.Builder,UpdateMonitorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateMonitorResponse.BuildercreatedAt(Instant createdAt)The date and time when the monitor was created.UpdateMonitorResponse.BuilderlocalResources(Collection<MonitorLocalResource> localResources)The local resources updated for a monitor, as an array of resources with identifiers and types.UpdateMonitorResponse.BuilderlocalResources(Consumer<MonitorLocalResource.Builder>... localResources)The local resources updated for a monitor, as an array of resources with identifiers and types.UpdateMonitorResponse.BuilderlocalResources(MonitorLocalResource... localResources)The local resources updated for a monitor, as an array of resources with identifiers and types.UpdateMonitorResponse.BuildermodifiedAt(Instant modifiedAt)The last date and time that the monitor was modified.UpdateMonitorResponse.BuildermonitorArn(String monitorArn)The Amazon Resource Name (ARN) of the monitor.UpdateMonitorResponse.BuildermonitorName(String monitorName)The name of the monitor.UpdateMonitorResponse.BuildermonitorStatus(String monitorStatus)The status of a monitor.UpdateMonitorResponse.BuildermonitorStatus(MonitorStatus monitorStatus)The status of a monitor.UpdateMonitorResponse.BuilderremoteResources(Collection<MonitorRemoteResource> remoteResources)The remote resources updated for a monitor, as an array of resources with identifiers and types.UpdateMonitorResponse.BuilderremoteResources(Consumer<MonitorRemoteResource.Builder>... remoteResources)The remote resources updated for a monitor, as an array of resources with identifiers and types.UpdateMonitorResponse.BuilderremoteResources(MonitorRemoteResource... remoteResources)The remote resources updated for a monitor, as an array of resources with identifiers and types.UpdateMonitorResponse.Buildertags(Map<String,String> tags)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 Detail
-
monitorArn
UpdateMonitorResponse.Builder monitorArn(String 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
UpdateMonitorResponse.Builder monitorName(String 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
UpdateMonitorResponse.Builder monitorStatus(String 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,MonitorStatus
-
-
monitorStatus
UpdateMonitorResponse.Builder monitorStatus(MonitorStatus 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,MonitorStatus
-
-
localResources
UpdateMonitorResponse.Builder localResources(Collection<MonitorLocalResource> localResources)
The local resources updated for a monitor, as an array of resources with identifiers and types.
- Parameters:
localResources- The local resources updated for a monitor, as an array of resources with identifiers and types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localResources
UpdateMonitorResponse.Builder localResources(MonitorLocalResource... localResources)
The local resources updated for a monitor, as an array of resources with identifiers and types.
- Parameters:
localResources- The local resources updated for a monitor, as an array of resources with identifiers and types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localResources
UpdateMonitorResponse.Builder localResources(Consumer<MonitorLocalResource.Builder>... localResources)
The local resources updated for a monitor, as an array of resources with identifiers and types.
This is a convenience method that creates an instance of theMonitorLocalResource.Builderavoiding the need to create one manually viaMonitorLocalResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#localResources(List.) - 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:
#localResources(java.util.Collection)
-
remoteResources
UpdateMonitorResponse.Builder remoteResources(Collection<MonitorRemoteResource> remoteResources)
The remote resources updated for a monitor, as an array of resources with identifiers and types.
- Parameters:
remoteResources- The remote resources updated for a monitor, as an array of resources with identifiers and types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteResources
UpdateMonitorResponse.Builder remoteResources(MonitorRemoteResource... remoteResources)
The remote resources updated for a monitor, as an array of resources with identifiers and types.
- Parameters:
remoteResources- The remote resources updated for a monitor, as an array of resources with identifiers and types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteResources
UpdateMonitorResponse.Builder remoteResources(Consumer<MonitorRemoteResource.Builder>... remoteResources)
The remote resources updated for a monitor, as an array of resources with identifiers and types.
This is a convenience method that creates an instance of theMonitorRemoteResource.Builderavoiding the need to create one manually viaMonitorRemoteResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#remoteResources(List.) - 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:
#remoteResources(java.util.Collection)
-
createdAt
UpdateMonitorResponse.Builder createdAt(Instant 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
UpdateMonitorResponse.Builder modifiedAt(Instant modifiedAt)
The last date and time that the monitor was modified.
- Parameters:
modifiedAt- The last date and time that the monitor was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
UpdateMonitorResponse.Builder tags(Map<String,String> 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.
-
-