Class Code

    • Method Detail

      • source

        public final CodeSource source()

        The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.

        Returns:
        The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
      • destination

        public final CodeDestination destination()

        The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.

        Returns:
        The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.
      • serializableBuilderClass

        public static Class<? extends Code.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)