Interface DefineIndexFieldResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudSearchResponse.Builder,CopyableBuilder<DefineIndexFieldResponse.Builder,,DefineIndexFieldResponse> SdkBuilder<DefineIndexFieldResponse.Builder,,DefineIndexFieldResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DefineIndexFieldResponse
public static interface DefineIndexFieldResponse.Builder
extends CloudSearchResponse.Builder, SdkPojo, CopyableBuilder<DefineIndexFieldResponse.Builder,DefineIndexFieldResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DefineIndexFieldResponse.BuilderindexField(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, responseMetadataMethods 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, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaIndexFieldStatus.builder().When the
Consumercompletes,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:
-