public static interface GetContactMethodsResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetContactMethodsResponse.Builder,GetContactMethodsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetContactMethodsResponse.Builder |
contactMethods(Collection<ContactMethod> contactMethods)
An array of objects that describe the contact methods.
|
GetContactMethodsResponse.Builder |
contactMethods(Consumer<ContactMethod.Builder>... contactMethods)
An array of objects that describe the contact methods.
|
GetContactMethodsResponse.Builder |
contactMethods(ContactMethod... contactMethods)
An array of objects that describe the contact methods.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetContactMethodsResponse.Builder contactMethods(Collection<ContactMethod> contactMethods)
An array of objects that describe the contact methods.
contactMethods - An array of objects that describe the contact methods.GetContactMethodsResponse.Builder contactMethods(ContactMethod... contactMethods)
An array of objects that describe the contact methods.
contactMethods - An array of objects that describe the contact methods.GetContactMethodsResponse.Builder contactMethods(Consumer<ContactMethod.Builder>... contactMethods)
An array of objects that describe the contact methods.
This is a convenience method that creates an instance of theContactMethod.Builder avoiding the need to create one
manually via ContactMethod.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #contactMethods(List.
contactMethods - a consumer that will call methods on
ContactMethod.Builder#contactMethods(java.util.Collection) Copyright © 2023. All rights reserved.