Interface ProductViewDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProductViewDetail.Builder,ProductViewDetail>,SdkBuilder<ProductViewDetail.Builder,ProductViewDetail>,SdkPojo
- Enclosing class:
- ProductViewDetail
public static interface ProductViewDetail.Builder extends SdkPojo, CopyableBuilder<ProductViewDetail.Builder,ProductViewDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProductViewDetail.BuildercreatedTime(Instant createdTime)The UTC time stamp of the creation time.ProductViewDetail.BuilderproductARN(String productARN)The ARN of the product.default ProductViewDetail.BuilderproductViewSummary(Consumer<ProductViewSummary.Builder> productViewSummary)Summary information about the product view.ProductViewDetail.BuilderproductViewSummary(ProductViewSummary productViewSummary)Summary information about the product view.default ProductViewDetail.BuildersourceConnection(Consumer<SourceConnectionDetail.Builder> sourceConnection)A top levelProductViewDetailresponse containing details about the product’s connection.ProductViewDetail.BuildersourceConnection(SourceConnectionDetail sourceConnection)A top levelProductViewDetailresponse containing details about the product’s connection.ProductViewDetail.Builderstatus(String status)The status of the product.ProductViewDetail.Builderstatus(Status status)The status of the product.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
productViewSummary
ProductViewDetail.Builder productViewSummary(ProductViewSummary productViewSummary)
Summary information about the product view.
- Parameters:
productViewSummary- Summary information about the product view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productViewSummary
default ProductViewDetail.Builder productViewSummary(Consumer<ProductViewSummary.Builder> productViewSummary)
Summary information about the product view.
This is a convenience method that creates an instance of theProductViewSummary.Builderavoiding the need to create one manually viaProductViewSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproductViewSummary(ProductViewSummary).- Parameters:
productViewSummary- a consumer that will call methods onProductViewSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
productViewSummary(ProductViewSummary)
-
status
ProductViewDetail.Builder status(String status)
The status of the product.
-
AVAILABLE- The product is ready for use. -
CREATING- Product creation has started; the product is not ready for use. -
FAILED- An action failed.
- Parameters:
status- The status of the product.-
AVAILABLE- The product is ready for use. -
CREATING- Product creation has started; the product is not ready for use. -
FAILED- An action failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Status,Status
-
-
status
ProductViewDetail.Builder status(Status status)
The status of the product.
-
AVAILABLE- The product is ready for use. -
CREATING- Product creation has started; the product is not ready for use. -
FAILED- An action failed.
- Parameters:
status- The status of the product.-
AVAILABLE- The product is ready for use. -
CREATING- Product creation has started; the product is not ready for use. -
FAILED- An action failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Status,Status
-
-
productARN
ProductViewDetail.Builder productARN(String productARN)
The ARN of the product.
- Parameters:
productARN- The ARN of the product.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
ProductViewDetail.Builder createdTime(Instant createdTime)
The UTC time stamp of the creation time.
- Parameters:
createdTime- The UTC time stamp of the creation time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConnection
ProductViewDetail.Builder sourceConnection(SourceConnectionDetail sourceConnection)
A top level
ProductViewDetailresponse containing details about the product’s connection. Service Catalog returns this field for theCreateProduct,UpdateProduct,DescribeProductAsAdmin, andSearchProductAsAdminAPIs. This response contains the same fields as theConnectionParametersrequest, with the addition of theLastSyncresponse.- Parameters:
sourceConnection- A top levelProductViewDetailresponse containing details about the product’s connection. Service Catalog returns this field for theCreateProduct,UpdateProduct,DescribeProductAsAdmin, andSearchProductAsAdminAPIs. This response contains the same fields as theConnectionParametersrequest, with the addition of theLastSyncresponse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConnection
default ProductViewDetail.Builder sourceConnection(Consumer<SourceConnectionDetail.Builder> sourceConnection)
A top level
This is a convenience method that creates an instance of theProductViewDetailresponse containing details about the product’s connection. Service Catalog returns this field for theCreateProduct,UpdateProduct,DescribeProductAsAdmin, andSearchProductAsAdminAPIs. This response contains the same fields as theConnectionParametersrequest, with the addition of theLastSyncresponse.SourceConnectionDetail.Builderavoiding the need to create one manually viaSourceConnectionDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConnection(SourceConnectionDetail).- Parameters:
sourceConnection- a consumer that will call methods onSourceConnectionDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceConnection(SourceConnectionDetail)
-
-