Interface ProjectDetails.Builder

    • Method Detail

      • name

        ProjectDetails.Builder name​(String name)
        Sets the value of the Name property for this object.
        Parameters:
        name - The new value for the Name property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • projectId

        ProjectDetails.Builder projectId​(String projectId)
        Sets the value of the ProjectId property for this object.
        Parameters:
        projectId - The new value for the ProjectId property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • region

        ProjectDetails.Builder region​(String region)
        Sets the value of the Region property for this object.
        Parameters:
        region - The new value for the Region property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        ProjectDetails.Builder state​(String state)
        Sets the value of the State property for this object.
        Parameters:
        state - The new value for the State property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProjectState, ProjectState
      • state

        ProjectDetails.Builder state​(ProjectState state)
        Sets the value of the State property for this object.
        Parameters:
        state - The new value for the State property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProjectState, ProjectState
      • createdDate

        ProjectDetails.Builder createdDate​(Instant createdDate)

        Date the project was created.

        Parameters:
        createdDate - Date the project was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedDate

        ProjectDetails.Builder lastUpdatedDate​(Instant lastUpdatedDate)

        Date of the last modification of the project.

        Parameters:
        lastUpdatedDate - Date of the last modification of the project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • consoleUrl

        ProjectDetails.Builder consoleUrl​(String consoleUrl)

        Website URL for this project in the AWS Mobile Hub console.

        Parameters:
        consoleUrl - Website URL for this project in the AWS Mobile Hub console.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        ProjectDetails.Builder resources​(Collection<Resource> resources)
        Sets the value of the Resources property for this object.
        Parameters:
        resources - The new value for the Resources property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        ProjectDetails.Builder resources​(Resource... resources)
        Sets the value of the Resources property for this object.
        Parameters:
        resources - The new value for the Resources property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        ProjectDetails.Builder resources​(Consumer<Resource.Builder>... resources)
        Sets the value of the Resources property for this object. This is a convenience method that creates an instance of the Resource.Builder avoiding the need to create one manually via Resource.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #resources(List).

        Parameters:
        resources - a consumer that will call methods on Resource.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #resources(java.util.Collection)