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
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
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.Builderavoiding the need to create one manually viaAccessKey.builder().When the
Consumercompletes,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:
-