Interface CreateKeyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateKeyResponse.Builder,CreateKeyResponse>,LocationResponse.Builder,SdkBuilder<CreateKeyResponse.Builder,CreateKeyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateKeyResponse
public static interface CreateKeyResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<CreateKeyResponse.Builder,CreateKeyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateKeyResponse.BuildercreateTime(Instant createTime)The timestamp for when the API key resource was created in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.CreateKeyResponse.Builderkey(String key)The key value/string of an API key.CreateKeyResponse.BuilderkeyArn(String keyArn)The Amazon Resource Name (ARN) for the API key resource.CreateKeyResponse.BuilderkeyName(String keyName)The name of the API key resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.location.model.LocationResponse.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 Detail
-
createTime
CreateKeyResponse.Builder createTime(Instant createTime)
The timestamp for when the API key resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.- Parameters:
createTime- The timestamp for when the API key resource was created in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
CreateKeyResponse.Builder key(String key)
The key value/string of an API key. This value is used when making API calls to authorize the call. For example, see GetMapGlyphs.
- Parameters:
key- The key value/string of an API key. This value is used when making API calls to authorize the call. For example, see GetMapGlyphs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyArn
CreateKeyResponse.Builder keyArn(String keyArn)
The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across all Amazon Web Services.
-
Format example:
arn:aws:geo:region:account-id:key/ExampleKey
- Parameters:
keyArn- The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across all Amazon Web Services.-
Format example:
arn:aws:geo:region:account-id:key/ExampleKey
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
keyName
CreateKeyResponse.Builder keyName(String keyName)
The name of the API key resource.
- Parameters:
keyName- The name of the API key resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-