Interface ProjectDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProjectDetails.Builder,
,ProjectDetails> SdkBuilder<ProjectDetails.Builder,
,ProjectDetails> SdkPojo
- Enclosing class:
ProjectDetails
public static interface ProjectDetails.Builder
extends SdkPojo, CopyableBuilder<ProjectDetails.Builder,ProjectDetails>
-
Method Summary
Modifier and TypeMethodDescriptionconsoleUrl
(String consoleUrl) Website URL for this project in the AWS Mobile Hub console.createdDate
(Instant createdDate) Date the project was created.lastUpdatedDate
(Instant lastUpdatedDate) Date of the last modification of the project.Sets the value of the Name property for this object.Sets the value of the ProjectId property for this object.Sets the value of the Region property for this object.resources
(Collection<Resource> resources) Sets the value of the Resources property for this object.resources
(Consumer<Resource.Builder>... resources) Sets the value of the Resources property for this object.Sets the value of the Resources property for this object.Sets the value of the State property for this object.state
(ProjectState state) Sets the value of the State property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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:
-
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:
-
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
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
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
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
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
Sets the value of the Resources property for this object. This is a convenience method that creates an instance of theResource.Builder
avoiding the need to create one manually viaResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(List<Resource>)
.- Parameters:
resources
- a consumer that will call methods onResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-