Interface GetScopeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetScopeResponse.Builder,,GetScopeResponse> NetworkFlowMonitorResponse.Builder,SdkBuilder<GetScopeResponse.Builder,,GetScopeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetScopeResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the scope.The identifier for the scope that includes the resources you want to get data results for.The status for a scope.status(ScopeStatus status) The status for a scope.The tags for a scope.targets(Collection<TargetResource> targets) The targets to define the scope to be monitored.targets(Consumer<TargetResource.Builder>... targets) The targets to define the scope to be monitored.targets(TargetResource... targets) The targets to define the scope to be monitored.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
-
scopeId
The identifier for the scope that includes the resources you want to get data results for. A scope ID is an internally-generated identifier that includes all the resources for a specific root account. A scope ID is returned from a
CreateScopeAPI call.- Parameters:
scopeId- The identifier for the scope that includes the resources you want to get data results for. A scope ID is an internally-generated identifier that includes all the resources for a specific root account. A scope ID is returned from aCreateScopeAPI call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status for a scope. The status can be one of the following:
SUCCEEDED,IN_PROGRESS,FAILED,DEACTIVATING, orDEACTIVATED.A status of
DEACTIVATINGmeans that you've requested a scope to be deactivated and Network Flow Monitor is in the process of deactivating the scope. A status ofDEACTIVATEDmeans that the deactivating process is complete.- Parameters:
status- The status for a scope. The status can be one of the following:SUCCEEDED,IN_PROGRESS,FAILED,DEACTIVATING, orDEACTIVATED.A status of
DEACTIVATINGmeans that you've requested a scope to be deactivated and Network Flow Monitor is in the process of deactivating the scope. A status ofDEACTIVATEDmeans that the deactivating process is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status for a scope. The status can be one of the following:
SUCCEEDED,IN_PROGRESS,FAILED,DEACTIVATING, orDEACTIVATED.A status of
DEACTIVATINGmeans that you've requested a scope to be deactivated and Network Flow Monitor is in the process of deactivating the scope. A status ofDEACTIVATEDmeans that the deactivating process is complete.- Parameters:
status- The status for a scope. The status can be one of the following:SUCCEEDED,IN_PROGRESS,FAILED,DEACTIVATING, orDEACTIVATED.A status of
DEACTIVATINGmeans that you've requested a scope to be deactivated and Network Flow Monitor is in the process of deactivating the scope. A status ofDEACTIVATEDmeans that the deactivating process is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scopeArn
The Amazon Resource Name (ARN) of the scope.
- Parameters:
scopeArn- The Amazon Resource Name (ARN) of the scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The targets to define the scope to be monitored. A target is an array of targetResources, which are currently Region-account pairs, defined by targetResource constructs.
- Parameters:
targets- The targets to define the scope to be monitored. A target is an array of targetResources, which are currently Region-account pairs, defined by targetResource constructs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The targets to define the scope to be monitored. A target is an array of targetResources, which are currently Region-account pairs, defined by targetResource constructs.
- Parameters:
targets- The targets to define the scope to be monitored. A target is an array of targetResources, which are currently Region-account pairs, defined by targetResource constructs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The targets to define the scope to be monitored. A target is an array of targetResources, which are currently Region-account pairs, defined by targetResource constructs.
This is a convenience method that creates an instance of theTargetResource.Builderavoiding the need to create one manually viaTargetResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargets(List<TargetResource>).- Parameters:
targets- a consumer that will call methods onTargetResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags for a scope.
- Parameters:
tags- The tags for a scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-