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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ComponentResponse.BuilderareAllCompositeComponentsReturned(Boolean areAllCompositeComponentsReturned)This flag notes whether allcompositeComponentsare returned in the API response.ComponentResponse.BuilderareAllPropertiesReturned(Boolean areAllPropertiesReturned)This flag notes whether all properties of the component are returned in the API response.ComponentResponse.BuildercomponentName(String componentName)The name of the component.ComponentResponse.BuildercomponentTypeId(String componentTypeId)The ID of the component type.ComponentResponse.BuildercompositeComponents(Map<String,ComponentSummary> compositeComponents)This lists objects that contain information about thecompositeComponents.ComponentResponse.BuilderdefinedIn(String definedIn)The name of the property definition set in the request.ComponentResponse.Builderdescription(String description)The description of the component type.ComponentResponse.Builderproperties(Map<String,PropertyResponse> properties)An object that maps strings to the properties to set in the component type.ComponentResponse.BuilderpropertyGroups(Map<String,ComponentPropertyGroupResponse> propertyGroups)The property groups.default ComponentResponse.Builderstatus(Consumer<Status.Builder> status)The status of the component type.ComponentResponse.Builderstatus(Status status)The status of the component type.ComponentResponse.BuildersyncSource(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
componentName
ComponentResponse.Builder componentName(String 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
ComponentResponse.Builder description(String 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
ComponentResponse.Builder componentTypeId(String 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
ComponentResponse.Builder status(Status 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
default ComponentResponse.Builder status(Consumer<Status.Builder> status)
The status of the component type.
This is a convenience method that creates an instance of theStatus.Builderavoiding the need to create one manually viaStatus.builder().When the
Consumercompletes,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:
status(Status)
-
definedIn
ComponentResponse.Builder definedIn(String 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
ComponentResponse.Builder properties(Map<String,PropertyResponse> 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
ComponentResponse.Builder propertyGroups(Map<String,ComponentPropertyGroupResponse> 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
ComponentResponse.Builder syncSource(String 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.
-
areAllPropertiesReturned
ComponentResponse.Builder areAllPropertiesReturned(Boolean areAllPropertiesReturned)
This flag notes whether all properties of the component are returned in the API response. The maximum number of properties returned is 800.
- Parameters:
areAllPropertiesReturned- This flag notes whether all properties of the component are returned in the API response. The maximum number of properties returned is 800.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compositeComponents
ComponentResponse.Builder compositeComponents(Map<String,ComponentSummary> compositeComponents)
This lists objects that contain information about the
compositeComponents.- Parameters:
compositeComponents- This lists objects that contain information about thecompositeComponents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
areAllCompositeComponentsReturned
ComponentResponse.Builder areAllCompositeComponentsReturned(Boolean areAllCompositeComponentsReturned)
This flag notes whether all
compositeComponentsare returned in the API response.- Parameters:
areAllCompositeComponentsReturned- This flag notes whether allcompositeComponentsare returned in the API response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-