Interface NetworkScopeSummary.Builder

  • Method Details

    • networkScopeId

      NetworkScopeSummary.Builder networkScopeId(String networkScopeId)

      The ID of the network scope.

      Parameters:
      networkScopeId - The ID of the network scope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkScopeArn

      NetworkScopeSummary.Builder networkScopeArn(String networkScopeArn)

      The Amazon Resource Name (ARN) of the network scope.

      Parameters:
      networkScopeArn - The Amazon Resource Name (ARN) of the network scope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the network scope.

      Parameters:
      name - The name of the network scope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessMode

      NetworkScopeSummary.Builder accessMode(String accessMode)

      How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. With ACCOUNTS, the account can be any AWS account. With ORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.

      Parameters:
      accessMode - How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. With ACCOUNTS, the account can be any AWS account. With ORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accessMode

      How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. With ACCOUNTS, the account can be any AWS account. With ORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.

      Parameters:
      accessMode - How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. With ACCOUNTS, the account can be any AWS account. With ORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the network scope. To see the Regions of the network scope, call GetNetworkScope.

      Parameters:
      state - The state of the network scope. To see the Regions of the network scope, call GetNetworkScope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the network scope. To see the Regions of the network scope, call GetNetworkScope.

      Parameters:
      state - The state of the network scope. To see the Regions of the network scope, call GetNetworkScope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateReason

      The reason for the current state of the network scope, if a reason applies.

      Parameters:
      stateReason - The reason for the current state of the network scope, if a reason applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateReason

      The reason for the current state of the network scope, if a reason applies.

      This is a convenience method that creates an instance of the NetworkScopeStateReason.Builder avoiding the need to create one manually via NetworkScopeStateReason.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to stateReason(NetworkScopeStateReason).

      Parameters:
      stateReason - a consumer that will call methods on NetworkScopeStateReason.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      NetworkScopeSummary.Builder createdAt(Instant createdAt)

      The date and time that the network scope was created.

      Parameters:
      createdAt - The date and time that the network scope was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.