Interface DefineIndexFieldResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudSearchResponse.Builder
,CopyableBuilder<DefineIndexFieldResponse.Builder,
,DefineIndexFieldResponse> SdkBuilder<DefineIndexFieldResponse.Builder,
,DefineIndexFieldResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DefineIndexFieldResponse
@Mutable
@NotThreadSafe
public static interface DefineIndexFieldResponse.Builder
extends CloudSearchResponse.Builder, SdkPojo, CopyableBuilder<DefineIndexFieldResponse.Builder,DefineIndexFieldResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DefineIndexFieldResponse.Builder
indexField
(Consumer<IndexFieldStatus.Builder> indexField) Sets the value of the IndexField property for this object.indexField
(IndexFieldStatus indexField) Sets the value of the IndexField property for this object.Methods inherited from interface software.amazon.awssdk.services.cloudsearch.model.CloudSearchResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
indexField
Sets the value of the IndexField property for this object.- Parameters:
indexField
- The new value for the IndexField property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexField
Sets the value of the IndexField property for this object. This is a convenience method that creates an instance of theIndexFieldStatus.Builder
avoiding the need to create one manually viaIndexFieldStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toindexField(IndexFieldStatus)
.- Parameters:
indexField
- a consumer that will call methods onIndexFieldStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-