Class HmacKey.HmacKeyMetadata.Builder (2.22.3)

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
TypeDescription
HmacKey.HmacKeyMetadata

setAccessId(String accessId)

public HmacKey.HmacKeyMetadata.Builder setAccessId(String accessId)
Parameter
NameDescription
accessIdString
Returns
TypeDescription
HmacKey.HmacKeyMetadata.Builder

setCreateTime(long createTime) (deprecated)

public HmacKey.HmacKeyMetadata.Builder setCreateTime(long createTime)
Parameter
NameDescription
createTimelong
Returns
TypeDescription
HmacKey.HmacKeyMetadata.Builder

setCreateTimeOffsetDateTime(OffsetDateTime createTime)

public HmacKey.HmacKeyMetadata.Builder setCreateTimeOffsetDateTime(OffsetDateTime createTime)
Parameter
NameDescription
createTimeOffsetDateTime
Returns
TypeDescription
HmacKey.HmacKeyMetadata.Builder

setEtag(String etag)

public HmacKey.HmacKeyMetadata.Builder setEtag(String etag)
Parameter
NameDescription
etagString
Returns
TypeDescription
HmacKey.HmacKeyMetadata.Builder

setId(String id)

public HmacKey.HmacKeyMetadata.Builder setId(String id)
Parameter
NameDescription
idString
Returns
TypeDescription
HmacKey.HmacKeyMetadata.Builder

setProjectId(String projectId)

public HmacKey.HmacKeyMetadata.Builder setProjectId(String projectId)
Parameter
NameDescription
projectIdString
Returns
TypeDescription
HmacKey.HmacKeyMetadata.Builder

setServiceAccount(ServiceAccount serviceAccount)

public HmacKey.HmacKeyMetadata.Builder setServiceAccount(ServiceAccount serviceAccount)
Parameter
NameDescription
serviceAccountServiceAccount
Returns
TypeDescription
HmacKey.HmacKeyMetadata.Builder

setState(HmacKey.HmacKeyState state)

public HmacKey.HmacKeyMetadata.Builder setState(HmacKey.HmacKeyState state)
Parameter
NameDescription
stateHmacKey.HmacKeyState
Returns
TypeDescription
HmacKey.HmacKeyMetadata.Builder

setUpdateTime(long updateTime) (deprecated)

public HmacKey.HmacKeyMetadata.Builder setUpdateTime(long updateTime)
Parameter
NameDescription
updateTimelong
Returns
TypeDescription
HmacKey.HmacKeyMetadata.Builder

setUpdateTimeOffsetDateTime(OffsetDateTime updateTime)

public HmacKey.HmacKeyMetadata.Builder setUpdateTimeOffsetDateTime(OffsetDateTime updateTime)
Parameter
NameDescription
updateTimeOffsetDateTime
Returns
TypeDescription
HmacKey.HmacKeyMetadata.Builder