Interface CreateEnvironmentRequest.Builder

    • Method Detail

      • name

        CreateEnvironmentRequest.Builder name​(String name)

        The name for the environment.

        Parameters:
        name - The name for the environment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • desktopArn

        CreateEnvironmentRequest.Builder desktopArn​(String desktopArn)

        The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.

        Parameters:
        desktopArn - The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • desktopEndpoint

        CreateEnvironmentRequest.Builder desktopEndpoint​(String desktopEndpoint)

        The URL for the identity provider login (only for environments that use AppStream 2.0).

        Parameters:
        desktopEndpoint - The URL for the identity provider login (only for environments that use AppStream 2.0).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • softwareSetUpdateSchedule

        CreateEnvironmentRequest.Builder softwareSetUpdateSchedule​(String softwareSetUpdateSchedule)

        An option to define if software updates should be applied within a maintenance window.

        Parameters:
        softwareSetUpdateSchedule - An option to define if software updates should be applied within a maintenance window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SoftwareSetUpdateSchedule, SoftwareSetUpdateSchedule
      • maintenanceWindow

        CreateEnvironmentRequest.Builder maintenanceWindow​(MaintenanceWindow maintenanceWindow)

        A specification for a time window to apply software updates.

        Parameters:
        maintenanceWindow - A specification for a time window to apply software updates.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • softwareSetUpdateMode

        CreateEnvironmentRequest.Builder softwareSetUpdateMode​(String softwareSetUpdateMode)

        An option to define which software updates to apply.

        Parameters:
        softwareSetUpdateMode - An option to define which software updates to apply.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SoftwareSetUpdateMode, SoftwareSetUpdateMode
      • desiredSoftwareSetId

        CreateEnvironmentRequest.Builder desiredSoftwareSetId​(String desiredSoftwareSetId)

        The ID of the software set to apply.

        Parameters:
        desiredSoftwareSetId - The ID of the software set to apply.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyArn

        CreateEnvironmentRequest.Builder kmsKeyArn​(String kmsKeyArn)

        The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.

        Parameters:
        kmsKeyArn - The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateEnvironmentRequest.Builder clientToken​(String clientToken)

        Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.

        If you don't provide this value, then Amazon Web Services generates a random one for you.

        If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

        Parameters:
        clientToken - Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.

        If you don't provide this value, then Amazon Web Services generates a random one for you.

        If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

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

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

        A map of the key-value pairs of the tag or tags to assign to the resource.

        Parameters:
        tags - A map of the key-value pairs of the tag or tags to assign to the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.