Interface GetScopeResponse.Builder

  • Method Details

    • 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 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 a CreateScope 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, or DEACTIVATED.

      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 of DEACTIVATED 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, or DEACTIVATED .

      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 of DEACTIVATED 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, or DEACTIVATED.

      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 of DEACTIVATED 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, or DEACTIVATED .

      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 of DEACTIVATED 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

      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

      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 the TargetResource.Builder avoiding the need to create one manually via TargetResource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targets(List<TargetResource>).

      Parameters:
      targets - a consumer that will call methods on TargetResource.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.