Interface GetUsageProfileResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetUsageProfileResponse.Builder,GetUsageProfileResponse>,GlueResponse.Builder,SdkBuilder<GetUsageProfileResponse.Builder,GetUsageProfileResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetUsageProfileResponse
public static interface GetUsageProfileResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetUsageProfileResponse.Builder,GetUsageProfileResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetUsageProfileResponse.Builderconfiguration(Consumer<ProfileConfiguration.Builder> configuration)AProfileConfigurationobject specifying the job and session values for the profile.GetUsageProfileResponse.Builderconfiguration(ProfileConfiguration configuration)AProfileConfigurationobject specifying the job and session values for the profile.GetUsageProfileResponse.BuildercreatedOn(Instant createdOn)The date and time when the usage profile was created.GetUsageProfileResponse.Builderdescription(String description)A description of the usage profile.GetUsageProfileResponse.BuilderlastModifiedOn(Instant lastModifiedOn)The date and time when the usage profile was last modified.GetUsageProfileResponse.Buildername(String name)The name of the usage profile.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
name
GetUsageProfileResponse.Builder name(String name)
The name of the usage profile.
- Parameters:
name- The name of the usage profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetUsageProfileResponse.Builder description(String description)
A description of the usage profile.
- Parameters:
description- A description of the usage profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
GetUsageProfileResponse.Builder configuration(ProfileConfiguration configuration)
A
ProfileConfigurationobject specifying the job and session values for the profile.- Parameters:
configuration- AProfileConfigurationobject specifying the job and session values for the profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default GetUsageProfileResponse.Builder configuration(Consumer<ProfileConfiguration.Builder> configuration)
A
This is a convenience method that creates an instance of theProfileConfigurationobject specifying the job and session values for the profile.ProfileConfiguration.Builderavoiding the need to create one manually viaProfileConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(ProfileConfiguration).- Parameters:
configuration- a consumer that will call methods onProfileConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(ProfileConfiguration)
-
createdOn
GetUsageProfileResponse.Builder createdOn(Instant createdOn)
The date and time when the usage profile was created.
- Parameters:
createdOn- The date and time when the usage profile was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedOn
GetUsageProfileResponse.Builder lastModifiedOn(Instant lastModifiedOn)
The date and time when the usage profile was last modified.
- Parameters:
lastModifiedOn- The date and time when the usage profile was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-