Interface DescribeComponentResponse.Builder
- All Superinterfaces:
ApplicationInsightsResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeComponentResponse.Builder,
,DescribeComponentResponse> SdkBuilder<DescribeComponentResponse.Builder,
,DescribeComponentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeComponentResponse
public static interface DescribeComponentResponse.Builder
extends ApplicationInsightsResponse.Builder, SdkPojo, CopyableBuilder<DescribeComponentResponse.Builder,DescribeComponentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationComponent
(Consumer<ApplicationComponent.Builder> applicationComponent) Sets the value of the ApplicationComponent property for this object.applicationComponent
(ApplicationComponent applicationComponent) Sets the value of the ApplicationComponent property for this object.resourceList
(String... resourceList) The list of resource ARNs that belong to the component.resourceList
(Collection<String> resourceList) The list of resource ARNs that belong to the component.Methods inherited from interface software.amazon.awssdk.services.applicationinsights.model.ApplicationInsightsResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
applicationComponent
Sets the value of the ApplicationComponent property for this object.- Parameters:
applicationComponent
- The new value for the ApplicationComponent property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationComponent
default DescribeComponentResponse.Builder applicationComponent(Consumer<ApplicationComponent.Builder> applicationComponent) Sets the value of the ApplicationComponent property for this object. This is a convenience method that creates an instance of theApplicationComponent.Builder
avoiding the need to create one manually viaApplicationComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationComponent(ApplicationComponent)
.- Parameters:
applicationComponent
- a consumer that will call methods onApplicationComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceList
The list of resource ARNs that belong to the component.
- Parameters:
resourceList
- The list of resource ARNs that belong to the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceList
The list of resource ARNs that belong to the component.
- Parameters:
resourceList
- The list of resource ARNs that belong to the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-