Interface GetServiceNetworkResponse.Builder

  • Method Details

    • arn

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

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

      The type of IAM policy.

      Parameters:
      authType - The type of IAM policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authType

      The type of IAM policy.

      Parameters:
      authType - The type of IAM policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      The date and time that the service network was created, in ISO-8601 format.

      Parameters:
      createdAt - The date and time that the service network was created, in ISO-8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The ID of the service network.

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

      GetServiceNetworkResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The date and time of the last update, in ISO-8601 format.

      Parameters:
      lastUpdatedAt - The date and time of the last update, in ISO-8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the service network.

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

      GetServiceNetworkResponse.Builder numberOfAssociatedServices(Long numberOfAssociatedServices)

      The number of services associated with the service network.

      Parameters:
      numberOfAssociatedServices - The number of services associated with the service network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberOfAssociatedVPCs

      GetServiceNetworkResponse.Builder numberOfAssociatedVPCs(Long numberOfAssociatedVPCs)

      The number of VPCs associated with the service network.

      Parameters:
      numberOfAssociatedVPCs - The number of VPCs associated with the service network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sharingConfig

      GetServiceNetworkResponse.Builder sharingConfig(SharingConfig sharingConfig)

      Specifies if the service network is enabled for sharing.

      Parameters:
      sharingConfig - Specifies if the service network is enabled for sharing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sharingConfig

      default GetServiceNetworkResponse.Builder sharingConfig(Consumer<SharingConfig.Builder> sharingConfig)

      Specifies if the service network is enabled for sharing.

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

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

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