Interface GetBucketAccessKeysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBucketAccessKeysResponse.Builder,
,GetBucketAccessKeysResponse> LightsailResponse.Builder
,SdkBuilder<GetBucketAccessKeysResponse.Builder,
,GetBucketAccessKeysResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBucketAccessKeysResponse
public static interface GetBucketAccessKeysResponse.Builder
extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetBucketAccessKeysResponse.Builder,GetBucketAccessKeysResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccessKeys
(Collection<AccessKey> accessKeys) An object that describes the access keys for the specified bucket.accessKeys
(Consumer<AccessKey.Builder>... accessKeys) An object that describes the access keys for the specified bucket.accessKeys
(AccessKey... accessKeys) An object that describes the access keys for the specified bucket.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accessKeys
An object that describes the access keys for the specified bucket.
- Parameters:
accessKeys
- An object that describes the access keys for the specified bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKeys
An object that describes the access keys for the specified bucket.
- Parameters:
accessKeys
- An object that describes the access keys for the specified bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKeys
An object that describes the access keys for the specified bucket.
This is a convenience method that creates an instance of theAccessKey.Builder
avoiding the need to create one manually viaAccessKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessKeys(List<AccessKey>)
.- Parameters:
accessKeys
- a consumer that will call methods onAccessKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-