Interface GetServiceAttributesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetServiceAttributesResponse.Builder,GetServiceAttributesResponse>,SdkBuilder<GetServiceAttributesResponse.Builder,GetServiceAttributesResponse>,SdkPojo,SdkResponse.Builder,ServiceDiscoveryResponse.Builder
- Enclosing class:
- GetServiceAttributesResponse
public static interface GetServiceAttributesResponse.Builder extends ServiceDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<GetServiceAttributesResponse.Builder,GetServiceAttributesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetServiceAttributesResponse.BuilderserviceAttributes(Consumer<ServiceAttributes.Builder> serviceAttributes)A complex type that contains the service ARN and a list of attribute key-value pairs associated with the service.GetServiceAttributesResponse.BuilderserviceAttributes(ServiceAttributes serviceAttributes)A complex type that contains the service ARN and a list of attribute key-value pairs associated with the service.-
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
-
Methods inherited from interface software.amazon.awssdk.services.servicediscovery.model.ServiceDiscoveryResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
serviceAttributes
GetServiceAttributesResponse.Builder serviceAttributes(ServiceAttributes serviceAttributes)
A complex type that contains the service ARN and a list of attribute key-value pairs associated with the service.
- Parameters:
serviceAttributes- A complex type that contains the service ARN and a list of attribute key-value pairs associated with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceAttributes
default GetServiceAttributesResponse.Builder serviceAttributes(Consumer<ServiceAttributes.Builder> serviceAttributes)
A complex type that contains the service ARN and a list of attribute key-value pairs associated with the service.
This is a convenience method that creates an instance of theServiceAttributes.Builderavoiding the need to create one manually viaServiceAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceAttributes(ServiceAttributes).- Parameters:
serviceAttributes- a consumer that will call methods onServiceAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
serviceAttributes(ServiceAttributes)
-
-