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 for a scopetargets
(Consumer<TargetResource.Builder>... targets) The targets for a scopetargets
(TargetResource... targets) The targets for a scopeMethods 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
-
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
CreateScope
API 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 aCreateScope
API 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
DEACTIVATING
means that you've requested a scope to be deactivated and Network Flow Monitor is in the process of deactivating the scope. A status ofDEACTIVATED
means 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
DEACTIVATING
means that you've requested a scope to be deactivated and Network Flow Monitor is in the process of deactivating the scope. A status ofDEACTIVATED
means 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
DEACTIVATING
means that you've requested a scope to be deactivated and Network Flow Monitor is in the process of deactivating the scope. A status ofDEACTIVATED
means 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
DEACTIVATING
means that you've requested a scope to be deactivated and Network Flow Monitor is in the process of deactivating the scope. A status ofDEACTIVATED
means 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 for a scope
- Parameters:
targets
- The targets for a scope- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The targets for a scope
- Parameters:
targets
- The targets for a scope- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The targets for a scope
This is a convenience method that creates an instance of theTargetResource.Builder
avoiding the need to create one manually viaTargetResource.builder()
.When the
Consumer
completes,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.
-