@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizedTargetsByService extends Object implements Serializable, Cloneable, StructuredPojo
The authorized targets that are associated with a service.
Constructor and Description |
---|
AuthorizedTargetsByService() |
Modifier and Type | Method and Description |
---|---|
AuthorizedTargetsByService |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAuthorizedTargets()
Aist of authorized targets that are represented by IAM Identity Center application ARNs.
|
String |
getService()
The name of the Amazon Web Services service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthorizedTargets(Collection<String> authorizedTargets)
Aist of authorized targets that are represented by IAM Identity Center application ARNs.
|
void |
setService(String service)
The name of the Amazon Web Services service.
|
String |
toString()
Returns a string representation of this object.
|
AuthorizedTargetsByService |
withAuthorizedTargets(Collection<String> authorizedTargets)
Aist of authorized targets that are represented by IAM Identity Center application ARNs.
|
AuthorizedTargetsByService |
withAuthorizedTargets(String... authorizedTargets)
Aist of authorized targets that are represented by IAM Identity Center application ARNs.
|
AuthorizedTargetsByService |
withService(ServiceType service)
The name of the Amazon Web Services service.
|
AuthorizedTargetsByService |
withService(String service)
The name of the Amazon Web Services service.
|
public void setService(String service)
The name of the Amazon Web Services service.
service
- The name of the Amazon Web Services service.ServiceType
public String getService()
The name of the Amazon Web Services service.
ServiceType
public AuthorizedTargetsByService withService(String service)
The name of the Amazon Web Services service.
service
- The name of the Amazon Web Services service.ServiceType
public AuthorizedTargetsByService withService(ServiceType service)
The name of the Amazon Web Services service.
service
- The name of the Amazon Web Services service.ServiceType
public List<String> getAuthorizedTargets()
Aist of authorized targets that are represented by IAM Identity Center application ARNs.
public void setAuthorizedTargets(Collection<String> authorizedTargets)
Aist of authorized targets that are represented by IAM Identity Center application ARNs.
authorizedTargets
- Aist of authorized targets that are represented by IAM Identity Center application ARNs.public AuthorizedTargetsByService withAuthorizedTargets(String... authorizedTargets)
Aist of authorized targets that are represented by IAM Identity Center application ARNs.
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
- Aist of authorized targets that are represented by IAM Identity Center application ARNs.public AuthorizedTargetsByService withAuthorizedTargets(Collection<String> authorizedTargets)
Aist of authorized targets that are represented by IAM Identity Center application ARNs.
authorizedTargets
- Aist of authorized targets that are represented by IAM Identity Center application ARNs.public String toString()
toString
in class Object
Object.toString()
public AuthorizedTargetsByService clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.