Interface GetScopeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetScopeResponse.Builder,GetScopeResponse>,NetworkFlowMonitorResponse.Builder,SdkBuilder<GetScopeResponse.Builder,GetScopeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetScopeResponse
public static interface GetScopeResponse.Builder extends NetworkFlowMonitorResponse.Builder, SdkPojo, CopyableBuilder<GetScopeResponse.Builder,GetScopeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetScopeResponse.BuilderscopeArn(String scopeArn)The Amazon Resource Name (ARN) of the scope.GetScopeResponse.BuilderscopeId(String scopeId)The identifier for the scope that includes the resources you want to get data results for.GetScopeResponse.Builderstatus(String status)The status of a scope.GetScopeResponse.Builderstatus(ScopeStatus status)The status of a scope.GetScopeResponse.Buildertags(Map<String,String> tags)The tags for a scope.GetScopeResponse.Buildertargets(Collection<TargetResource> targets)The targets for a scopeGetScopeResponse.Buildertargets(Consumer<TargetResource.Builder>... targets)The targets for a scopeGetScopeResponse.Buildertargets(TargetResource... targets)The targets for a scope-
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
-
scopeId
GetScopeResponse.Builder scopeId(String 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
GetScopeResponse.Builder status(String status)
The status of a scope. The status can be one of the following:
SUCCEEDED,IN_PROGRESS, orFAILED.- Parameters:
status- The status of a scope. The status can be one of the following:SUCCEEDED,IN_PROGRESS, orFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ScopeStatus,ScopeStatus
-
status
GetScopeResponse.Builder status(ScopeStatus status)
The status of a scope. The status can be one of the following:
SUCCEEDED,IN_PROGRESS, orFAILED.- Parameters:
status- The status of a scope. The status can be one of the following:SUCCEEDED,IN_PROGRESS, orFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ScopeStatus,ScopeStatus
-
scopeArn
GetScopeResponse.Builder scopeArn(String 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
GetScopeResponse.Builder targets(Collection<TargetResource> 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
GetScopeResponse.Builder targets(TargetResource... 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
GetScopeResponse.Builder targets(Consumer<TargetResource.Builder>... targets)
The targets for a scope
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 to#targets(List.) - 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:
#targets(java.util.Collection)
-
tags
GetScopeResponse.Builder tags(Map<String,String> 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.
-
-