org.jclouds.googlecomputeengine.domain
Class Instance.ServiceAccount
java.lang.Object
org.jclouds.googlecomputeengine.domain.Instance.ServiceAccount
- Enclosing class:
- Instance
public static final class Instance.ServiceAccount
- extends Object
A service account for which access tokens are to be made available to the instance through metadata queries.
- Author:
- David Alves
- See Also:
Instance.ServiceAccount
@ConstructorProperties(value={"email","scopes"})
public Instance.ServiceAccount(String email,
Set<String> scopes)
getEmail
public String getEmail()
- Returns:
- email address of the service account.
getScopes
public Set<String> getScopes()
- Returns:
- the list of scopes to be made available for this service account.
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
-
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
-
toString
public String toString()
-
- Overrides:
toString in class Object
builder
public static Instance.ServiceAccount.Builder builder()
toBuilder
public Instance.ServiceAccount.Builder toBuilder()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.