Interface GenericRevisionInfo.Builder

    • Method Detail

      • description

        GenericRevisionInfo.Builder description​(String description)

        A comment about the revision.

        Parameters:
        description - A comment about the revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentGroups

        GenericRevisionInfo.Builder deploymentGroups​(Collection<String> deploymentGroups)

        The deployment groups for which this is the current target revision.

        Parameters:
        deploymentGroups - The deployment groups for which this is the current target revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentGroups

        GenericRevisionInfo.Builder deploymentGroups​(String... deploymentGroups)

        The deployment groups for which this is the current target revision.

        Parameters:
        deploymentGroups - The deployment groups for which this is the current target revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • firstUsedTime

        GenericRevisionInfo.Builder firstUsedTime​(Instant firstUsedTime)

        When the revision was first used by CodeDeploy.

        Parameters:
        firstUsedTime - When the revision was first used by CodeDeploy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUsedTime

        GenericRevisionInfo.Builder lastUsedTime​(Instant lastUsedTime)

        When the revision was last used by CodeDeploy.

        Parameters:
        lastUsedTime - When the revision was last used by CodeDeploy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • registerTime

        GenericRevisionInfo.Builder registerTime​(Instant registerTime)

        When the revision was registered with CodeDeploy.

        Parameters:
        registerTime - When the revision was registered with CodeDeploy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.