Interface CreateResourceConfigurationResponse.Builder

  • Method Details

    • id

      The ID of the resource configuration.

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

      The name of the resource configuration.

      Parameters:
      name - The name of the resource configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the resource configuration.

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

      CreateResourceConfigurationResponse.Builder resourceGatewayId(String resourceGatewayId)

      The ID of the resource gateway associated with the resource configuration.

      Parameters:
      resourceGatewayId - The ID of the resource gateway associated with the resource configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceConfigurationGroupId

      CreateResourceConfigurationResponse.Builder resourceConfigurationGroupId(String resourceConfigurationGroupId)

      The ID of the parent resource configuration of type GROUP.

      Parameters:
      resourceConfigurationGroupId - The ID of the parent resource configuration of type GROUP.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of resource configuration. A resource configuration can be one of the following types:

      • SINGLE - A single resource.

      • GROUP - A group of resources. You must create a group resource configuration before you create a child resource configuration.

      • CHILD - A single resource that is part of a group resource configuration.

      • ARN - An Amazon Web Services resource.

      Parameters:
      type - The type of resource configuration. A resource configuration can be one of the following types:

      • SINGLE - A single resource.

      • GROUP - A group of resources. You must create a group resource configuration before you create a child resource configuration.

      • CHILD - A single resource that is part of a group resource configuration.

      • ARN - An Amazon Web Services resource.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of resource configuration. A resource configuration can be one of the following types:

      • SINGLE - A single resource.

      • GROUP - A group of resources. You must create a group resource configuration before you create a child resource configuration.

      • CHILD - A single resource that is part of a group resource configuration.

      • ARN - An Amazon Web Services resource.

      Parameters:
      type - The type of resource configuration. A resource configuration can be one of the following types:

      • SINGLE - A single resource.

      • GROUP - A group of resources. You must create a group resource configuration before you create a child resource configuration.

      • CHILD - A single resource that is part of a group resource configuration.

      • ARN - An Amazon Web Services resource.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • portRanges

      The port range.

      Parameters:
      portRanges - The port range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portRanges

      The port range.

      Parameters:
      portRanges - The port range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protocol

      The protocol.

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

      The protocol.

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

      The current status of the resource configuration.

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

      The current status of the resource configuration.

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

      CreateResourceConfigurationResponse.Builder resourceConfigurationDefinition(ResourceConfigurationDefinition resourceConfigurationDefinition)

      Identifies the resource configuration in one of the following ways:

      • Amazon Resource Name (ARN) - Supported resource-types that are provisioned by Amazon Web Services services, such as RDS databases, can be identified by their ARN.

      • Domain name - Any domain name that is publicly resolvable.

      • IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.

      Parameters:
      resourceConfigurationDefinition - Identifies the resource configuration in one of the following ways:

      • Amazon Resource Name (ARN) - Supported resource-types that are provisioned by Amazon Web Services services, such as RDS databases, can be identified by their ARN.

      • Domain name - Any domain name that is publicly resolvable.

      • IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceConfigurationDefinition

      default CreateResourceConfigurationResponse.Builder resourceConfigurationDefinition(Consumer<ResourceConfigurationDefinition.Builder> resourceConfigurationDefinition)

      Identifies the resource configuration in one of the following ways:

      • Amazon Resource Name (ARN) - Supported resource-types that are provisioned by Amazon Web Services services, such as RDS databases, can be identified by their ARN.

      • Domain name - Any domain name that is publicly resolvable.

      • IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.

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

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

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

      CreateResourceConfigurationResponse.Builder allowAssociationToShareableServiceNetwork(Boolean allowAssociationToShareableServiceNetwork)

      Specifies whether the resource configuration can be associated with a sharable service network.

      Parameters:
      allowAssociationToShareableServiceNetwork - Specifies whether the resource configuration can be associated with a sharable service network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The date and time that the resource configuration was created, in ISO-8601 format.

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

      The reason that the request failed.

      Parameters:
      failureReason - The reason that the request failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.