Interface GetListingResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetListingResponse.Builder,GetListingResponse>,DataZoneResponse.Builder,SdkBuilder<GetListingResponse.Builder,GetListingResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetListingResponse
public static interface GetListingResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<GetListingResponse.Builder,GetListingResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetListingResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the listing was created.GetListingResponse.BuildercreatedBy(String createdBy)The Amazon DataZone user who created the listing.GetListingResponse.Builderdescription(String description)The description of the listing.GetListingResponse.BuilderdomainId(String domainId)The ID of the Amazon DataZone domain.GetListingResponse.Builderid(String id)The ID of the listing.default GetListingResponse.Builderitem(Consumer<ListingItem.Builder> item)The details of a listing.GetListingResponse.Builderitem(ListingItem item)The details of a listing.GetListingResponse.BuilderlistingRevision(String listingRevision)The revision of a listing.GetListingResponse.Buildername(String name)The name of the listing.GetListingResponse.Builderstatus(String status)The status of the listing.GetListingResponse.Builderstatus(ListingStatus status)The status of the listing.GetListingResponse.BuilderupdatedAt(Instant updatedAt)The timestamp of when the listing was updated.GetListingResponse.BuilderupdatedBy(String updatedBy)The Amazon DataZone user who updated the listing.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
createdAt
GetListingResponse.Builder createdAt(Instant createdAt)
The timestamp of when the listing was created.
- Parameters:
createdAt- The timestamp of when the listing was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
GetListingResponse.Builder createdBy(String createdBy)
The Amazon DataZone user who created the listing.
- Parameters:
createdBy- The Amazon DataZone user who created the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetListingResponse.Builder description(String description)
The description of the listing.
- Parameters:
description- The description of the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
GetListingResponse.Builder domainId(String domainId)
The ID of the Amazon DataZone domain.
- Parameters:
domainId- The ID of the Amazon DataZone domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
GetListingResponse.Builder id(String id)
The ID of the listing.
- Parameters:
id- The ID of the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
GetListingResponse.Builder item(ListingItem item)
The details of a listing.
- Parameters:
item- The details of a listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
default GetListingResponse.Builder item(Consumer<ListingItem.Builder> item)
The details of a listing.
This is a convenience method that creates an instance of theListingItem.Builderavoiding the need to create one manually viaListingItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitem(ListingItem).- Parameters:
item- a consumer that will call methods onListingItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
item(ListingItem)
-
listingRevision
GetListingResponse.Builder listingRevision(String listingRevision)
The revision of a listing.
- Parameters:
listingRevision- The revision of a listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetListingResponse.Builder name(String name)
The name of the listing.
- Parameters:
name- The name of the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetListingResponse.Builder status(String status)
The status of the listing.
- Parameters:
status- The status of the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ListingStatus,ListingStatus
-
status
GetListingResponse.Builder status(ListingStatus status)
The status of the listing.
- Parameters:
status- The status of the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ListingStatus,ListingStatus
-
updatedAt
GetListingResponse.Builder updatedAt(Instant updatedAt)
The timestamp of when the listing was updated.
- Parameters:
updatedAt- The timestamp of when the listing was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
GetListingResponse.Builder updatedBy(String updatedBy)
The Amazon DataZone user who updated the listing.
- Parameters:
updatedBy- The Amazon DataZone user who updated the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-