Interface GetSpaceCredentialsForOrganizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchOmniResponse.Builder,CopyableBuilder<GetSpaceCredentialsForOrganizationResponse.Builder,,GetSpaceCredentialsForOrganizationResponse> SdkBuilder<GetSpaceCredentialsForOrganizationResponse.Builder,,GetSpaceCredentialsForOrganizationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSpaceCredentialsForOrganizationResponse
@Mutable
@NotThreadSafe
public static interface GetSpaceCredentialsForOrganizationResponse.Builder
extends CloudWatchOmniResponse.Builder, SdkPojo, CopyableBuilder<GetSpaceCredentialsForOrganizationResponse.Builder,GetSpaceCredentialsForOrganizationResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncredentials(Consumer<AwsCredentials.Builder> credentials) The temporary AWS credentials for the space.credentials(AwsCredentials credentials) The temporary AWS credentials for the space.Methods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
credentials
The temporary AWS credentials for the space.
- Parameters:
credentials- The temporary AWS credentials for the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
default GetSpaceCredentialsForOrganizationResponse.Builder credentials(Consumer<AwsCredentials.Builder> credentials) The temporary AWS credentials for the space.
This is a convenience method that creates an instance of theAwsCredentials.Builderavoiding the need to create one manually viaAwsCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentials(AwsCredentials).- Parameters:
credentials- a consumer that will call methods onAwsCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-