Interface BatchGetTargetDomainsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetTargetDomainsResponse.Builder,,BatchGetTargetDomainsResponse> SdkBuilder<BatchGetTargetDomainsResponse.Builder,,BatchGetTargetDomainsResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
BatchGetTargetDomainsResponse
@Mutable
@NotThreadSafe
public static interface BatchGetTargetDomainsResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<BatchGetTargetDomainsResponse.Builder,BatchGetTargetDomainsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of target domain identifiers that were not found.notFound(Collection<String> notFound) The list of target domain identifiers that were not found.targetDomains(Collection<TargetDomain> targetDomains) The list of target domains that were found.targetDomains(Consumer<TargetDomain.Builder>... targetDomains) The list of target domains that were found.targetDomains(TargetDomain... targetDomains) The list of target domains that were found.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
targetDomains
The list of target domains that were found.
- Parameters:
targetDomains- The list of target domains that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDomains
The list of target domains that were found.
- Parameters:
targetDomains- The list of target domains that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDomains
BatchGetTargetDomainsResponse.Builder targetDomains(Consumer<TargetDomain.Builder>... targetDomains) The list of target domains that were found.
This is a convenience method that creates an instance of theTargetDomain.Builderavoiding the need to create one manually viaTargetDomain.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetDomains(List<TargetDomain>).- Parameters:
targetDomains- a consumer that will call methods onTargetDomain.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notFound
The list of target domain identifiers that were not found.
- Parameters:
notFound- The list of target domain identifiers that were not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notFound
The list of target domain identifiers that were not found.
- Parameters:
notFound- The list of target domain identifiers that were not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-