Class HmacKey.HmacKeyMetadata.Builder (2.34.0)

public static class HmacKey.HmacKeyMetadata.Builder

Builder for HmacKeyMetadata objects. *

Inheritance

java.lang.Object > HmacKey.HmacKeyMetadata.Builder

Methods

build()

public HmacKey.HmacKeyMetadata build()

Creates an HmacKeyMetadata object from this builder. *

Returns
Type Description
HmacKey.HmacKeyMetadata

setAccessId(String accessId)

public HmacKey.HmacKeyMetadata.Builder setAccessId(String accessId)
Parameter
Name Description
accessId String
Returns
Type Description
HmacKey.HmacKeyMetadata.Builder

setCreateTime(long createTime) (deprecated)

public HmacKey.HmacKeyMetadata.Builder setCreateTime(long createTime)
Parameter
Name Description
createTime long
Returns
Type Description
HmacKey.HmacKeyMetadata.Builder

setCreateTimeOffsetDateTime(OffsetDateTime createTime)

public HmacKey.HmacKeyMetadata.Builder setCreateTimeOffsetDateTime(OffsetDateTime createTime)
Parameter
Name Description
createTime OffsetDateTime
Returns
Type Description
HmacKey.HmacKeyMetadata.Builder

setEtag(String etag)

public HmacKey.HmacKeyMetadata.Builder setEtag(String etag)
Parameter
Name Description
etag String
Returns
Type Description
HmacKey.HmacKeyMetadata.Builder

setId(String id)

public HmacKey.HmacKeyMetadata.Builder setId(String id)
Parameter
Name Description
id String
Returns
Type Description
HmacKey.HmacKeyMetadata.Builder

setProjectId(String projectId)

public HmacKey.HmacKeyMetadata.Builder setProjectId(String projectId)
Parameter
Name Description
projectId String
Returns
Type Description
HmacKey.HmacKeyMetadata.Builder

setServiceAccount(ServiceAccount serviceAccount)

public HmacKey.HmacKeyMetadata.Builder setServiceAccount(ServiceAccount serviceAccount)
Parameter
Name Description
serviceAccount ServiceAccount
Returns
Type Description
HmacKey.HmacKeyMetadata.Builder

setState(HmacKey.HmacKeyState state)

public HmacKey.HmacKeyMetadata.Builder setState(HmacKey.HmacKeyState state)
Parameter
Name Description
state HmacKey.HmacKeyState
Returns
Type Description
HmacKey.HmacKeyMetadata.Builder

setUpdateTime(long updateTime) (deprecated)

public HmacKey.HmacKeyMetadata.Builder setUpdateTime(long updateTime)
Parameter
Name Description
updateTime long
Returns
Type Description
HmacKey.HmacKeyMetadata.Builder

setUpdateTimeOffsetDateTime(OffsetDateTime updateTime)

public HmacKey.HmacKeyMetadata.Builder setUpdateTimeOffsetDateTime(OffsetDateTime updateTime)
Parameter
Name Description
updateTime OffsetDateTime
Returns
Type Description
HmacKey.HmacKeyMetadata.Builder