Interface ComponentResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComponentResponse.Builder,
,ComponentResponse> SdkBuilder<ComponentResponse.Builder,
,ComponentResponse> SdkPojo
- Enclosing class:
ComponentResponse
public static interface ComponentResponse.Builder
extends SdkPojo, CopyableBuilder<ComponentResponse.Builder,ComponentResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncomponentName
(String componentName) The name of the component.componentTypeId
(String componentTypeId) The ID of the component type.The name of the property definition set in the request.description
(String description) The description of the component type.properties
(Map<String, PropertyResponse> properties) An object that maps strings to the properties to set in the component type.propertyGroups
(Map<String, ComponentPropertyGroupResponse> propertyGroups) The property groups.default ComponentResponse.Builder
status
(Consumer<Status.Builder> status) The status of the component type.The status of the component type.syncSource
(String syncSource) The syncSource of the sync job, if this entity was created by a sync job.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
-
componentName
The name of the component.
- Parameters:
componentName
- The name of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the component type.
- Parameters:
description
- The description of the component type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentTypeId
The ID of the component type.
- Parameters:
componentTypeId
- The ID of the component type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the component type.
- Parameters:
status
- The status of the component type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the component type.
This is a convenience method that creates an instance of theStatus.Builder
avoiding the need to create one manually viaStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(Status)
.- Parameters:
status
- a consumer that will call methods onStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
definedIn
The name of the property definition set in the request.
- Parameters:
definedIn
- The name of the property definition set in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
- Parameters:
properties
- An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyGroups
The property groups.
- Parameters:
propertyGroups
- The property groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncSource
The syncSource of the sync job, if this entity was created by a sync job.
- Parameters:
syncSource
- The syncSource of the sync job, if this entity was created by a sync job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-