@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScopeDetails extends Object implements Serializable, Cloneable, StructuredPojo
A structure that describes an IAM Identity Center access scope and its authorized targets.
Constructor and Description |
---|
ScopeDetails() |
Modifier and Type | Method and Description |
---|---|
ScopeDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAuthorizedTargets()
An array list of ARNs of applications.
|
String |
getScope()
The name of the access scope.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthorizedTargets(Collection<String> authorizedTargets)
An array list of ARNs of applications.
|
void |
setScope(String scope)
The name of the access scope.
|
String |
toString()
Returns a string representation of this object.
|
ScopeDetails |
withAuthorizedTargets(Collection<String> authorizedTargets)
An array list of ARNs of applications.
|
ScopeDetails |
withAuthorizedTargets(String... authorizedTargets)
An array list of ARNs of applications.
|
ScopeDetails |
withScope(String scope)
The name of the access scope.
|
public List<String> getAuthorizedTargets()
An array list of ARNs of applications.
public void setAuthorizedTargets(Collection<String> authorizedTargets)
An array list of ARNs of applications.
authorizedTargets
- An array list of ARNs of applications.public ScopeDetails withAuthorizedTargets(String... authorizedTargets)
An array list of ARNs of applications.
NOTE: This method appends the values to the existing list (if any). Use
setAuthorizedTargets(java.util.Collection)
or withAuthorizedTargets(java.util.Collection)
if
you want to override the existing values.
authorizedTargets
- An array list of ARNs of applications.public ScopeDetails withAuthorizedTargets(Collection<String> authorizedTargets)
An array list of ARNs of applications.
authorizedTargets
- An array list of ARNs of applications.public void setScope(String scope)
The name of the access scope.
scope
- The name of the access scope.public String getScope()
The name of the access scope.
public ScopeDetails withScope(String scope)
The name of the access scope.
scope
- The name of the access scope.public String toString()
toString
in class Object
Object.toString()
public ScopeDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.