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
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 of a scope.status(ScopeStatus status) The status of 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
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 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:
-
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:
-
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.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.
-