Interface CreateServiceRequest.Builder

    • Method Detail

      • authType

        CreateServiceRequest.Builder authType​(String authType)

        The type of IAM policy.

        • NONE: The resource does not use an IAM policy. This is the default.

        • AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.

        Parameters:
        authType - The type of IAM policy.

        • NONE: The resource does not use an IAM policy. This is the default.

        • AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.

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

        CreateServiceRequest.Builder authType​(AuthType authType)

        The type of IAM policy.

        • NONE: The resource does not use an IAM policy. This is the default.

        • AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.

        Parameters:
        authType - The type of IAM policy.

        • NONE: The resource does not use an IAM policy. This is the default.

        • AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.

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

        CreateServiceRequest.Builder certificateArn​(String certificateArn)

        The Amazon Resource Name (ARN) of the certificate.

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

        CreateServiceRequest.Builder clientToken​(String clientToken)

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

        Parameters:
        clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customDomainName

        CreateServiceRequest.Builder customDomainName​(String customDomainName)

        The custom domain name of the service.

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

        CreateServiceRequest.Builder name​(String name)

        The name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

        Parameters:
        name - The name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateServiceRequest.Builder tags​(Map<String,​String> tags)

        The tags for the service.

        Parameters:
        tags - The tags for the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.