Interface Endpoint.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Endpoint.Builder,Endpoint>, SdkBuilder<Endpoint.Builder,Endpoint>, SdkPojo
Enclosing class:
Endpoint

public static interface Endpoint.Builder extends SdkPojo, CopyableBuilder<Endpoint.Builder,Endpoint>
  • Method Details

    • endpointArn

      Endpoint.Builder endpointArn(String endpointArn)

      The Amazon Resource Name (ARN) of the endpoint.

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

      Endpoint.Builder outpostsId(String outpostsId)

      The ID of the Outposts.

      Parameters:
      outpostsId - The ID of the Outposts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cidrBlock

      Endpoint.Builder cidrBlock(String cidrBlock)

      The VPC CIDR committed by this endpoint.

      Parameters:
      cidrBlock - The VPC CIDR committed by this endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Endpoint.Builder status(String status)

      The status of the endpoint.

      Parameters:
      status - The status of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the endpoint.

      Parameters:
      status - The status of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationTime

      Endpoint.Builder creationTime(Instant creationTime)

      The time the endpoint was created.

      Parameters:
      creationTime - The time the endpoint was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      Endpoint.Builder networkInterfaces(Collection<NetworkInterface> networkInterfaces)

      The network interface of the endpoint.

      Parameters:
      networkInterfaces - The network interface of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      Endpoint.Builder networkInterfaces(NetworkInterface... networkInterfaces)

      The network interface of the endpoint.

      Parameters:
      networkInterfaces - The network interface of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      Endpoint.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)

      The network interface of the endpoint.

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

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

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

      Endpoint.Builder vpcId(String vpcId)

      The ID of the VPC used for the endpoint.

      Parameters:
      vpcId - The ID of the VPC used for the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetId

      Endpoint.Builder subnetId(String subnetId)

      The ID of the subnet used for the endpoint.

      Parameters:
      subnetId - The ID of the subnet used for the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupId

      Endpoint.Builder securityGroupId(String securityGroupId)

      The ID of the security group used for the endpoint.

      Parameters:
      securityGroupId - The ID of the security group used for the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessType

      Endpoint.Builder accessType(String accessType)

      The type of connectivity used to access the Amazon S3 on Outposts endpoint.

      Parameters:
      accessType - The type of connectivity used to access the Amazon S3 on Outposts endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accessType

      Endpoint.Builder accessType(EndpointAccessType accessType)

      The type of connectivity used to access the Amazon S3 on Outposts endpoint.

      Parameters:
      accessType - The type of connectivity used to access the Amazon S3 on Outposts endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • customerOwnedIpv4Pool

      Endpoint.Builder customerOwnedIpv4Pool(String customerOwnedIpv4Pool)

      The ID of the customer-owned IPv4 address pool used for the endpoint.

      Parameters:
      customerOwnedIpv4Pool - The ID of the customer-owned IPv4 address pool used for the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedReason

      Endpoint.Builder failedReason(FailedReason failedReason)

      The failure reason, if any, for a create or delete endpoint operation.

      Parameters:
      failedReason - The failure reason, if any, for a create or delete endpoint operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedReason

      default Endpoint.Builder failedReason(Consumer<FailedReason.Builder> failedReason)

      The failure reason, if any, for a create or delete endpoint operation.

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

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

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