public static class HmacKey.HmacKeyMetadata extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
HmacKey.HmacKeyMetadata.Builder
Builder for
HmacKeyMetadata objects. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAccessId()
Returns the access id for this HMAC key.
|
Long |
getCreateTime()
Deprecated.
|
OffsetDateTime |
getCreateTimeOffsetDateTime()
Returns the creation time of this HMAC key.
|
String |
getEtag()
Returns HTTP 1.1 Entity tag for this HMAC key.
|
String |
getId()
Returns the resource name of this HMAC key.
|
String |
getProjectId()
Returns the project id associated with this HMAC key.
|
ServiceAccount |
getServiceAccount()
Returns the service account associated with this HMAC key.
|
HmacKey.HmacKeyState |
getState()
Returns the current state of this HMAC key.
|
Long |
getUpdateTime()
Deprecated.
|
OffsetDateTime |
getUpdateTimeOffsetDateTime()
Returns the last updated time of this HMAC key.
|
int |
hashCode() |
static HmacKey.HmacKeyMetadata.Builder |
newBuilder(ServiceAccount serviceAccount) |
static HmacKey.HmacKeyMetadata |
of(ServiceAccount serviceAccount,
String accessId,
String projectId) |
HmacKey.HmacKeyMetadata.Builder |
toBuilder() |
public static HmacKey.HmacKeyMetadata.Builder newBuilder(ServiceAccount serviceAccount)
public HmacKey.HmacKeyMetadata.Builder toBuilder()
public static HmacKey.HmacKeyMetadata of(ServiceAccount serviceAccount, String accessId, String projectId)
public String getAccessId()
public String getEtag()
public String getId()
public String getProjectId()
public ServiceAccount getServiceAccount()
public HmacKey.HmacKeyState getState()
@Deprecated public Long getCreateTime()
getCreateTimeOffsetDateTime()
public OffsetDateTime getCreateTimeOffsetDateTime()
@Deprecated public Long getUpdateTime()
getUpdateTimeOffsetDateTime()
public OffsetDateTime getUpdateTimeOffsetDateTime()
Copyright © 2023 Google LLC. All rights reserved.