@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainMembership extends Object implements Serializable, Cloneable
An Active Directory Domain membership record associated with the DB instance or cluster.
Constructor and Description |
---|
DomainMembership() |
Modifier and Type | Method and Description |
---|---|
DomainMembership |
clone() |
boolean |
equals(Object obj) |
String |
getAuthSecretArn()
The ARN for the Secrets Manager secret with the credentials for the user that's a member of the domain.
|
List<String> |
getDnsIps()
The IPv4 DNS IP addresses of the primary and secondary Active Directory domain controllers.
|
String |
getDomain()
The identifier of the Active Directory Domain.
|
String |
getFQDN()
The fully qualified domain name (FQDN) of the Active Directory Domain.
|
String |
getIAMRoleName()
The name of the IAM role used when making API calls to the Directory Service.
|
String |
getOU()
The Active Directory organizational unit for the DB instance or cluster.
|
String |
getStatus()
The status of the Active Directory Domain membership for the DB instance or cluster.
|
int |
hashCode() |
void |
setAuthSecretArn(String authSecretArn)
The ARN for the Secrets Manager secret with the credentials for the user that's a member of the domain.
|
void |
setDnsIps(Collection<String> dnsIps)
The IPv4 DNS IP addresses of the primary and secondary Active Directory domain controllers.
|
void |
setDomain(String domain)
The identifier of the Active Directory Domain.
|
void |
setFQDN(String fQDN)
The fully qualified domain name (FQDN) of the Active Directory Domain.
|
void |
setIAMRoleName(String iAMRoleName)
The name of the IAM role used when making API calls to the Directory Service.
|
void |
setOU(String oU)
The Active Directory organizational unit for the DB instance or cluster.
|
void |
setStatus(String status)
The status of the Active Directory Domain membership for the DB instance or cluster.
|
String |
toString()
Returns a string representation of this object.
|
DomainMembership |
withAuthSecretArn(String authSecretArn)
The ARN for the Secrets Manager secret with the credentials for the user that's a member of the domain.
|
DomainMembership |
withDnsIps(Collection<String> dnsIps)
The IPv4 DNS IP addresses of the primary and secondary Active Directory domain controllers.
|
DomainMembership |
withDnsIps(String... dnsIps)
The IPv4 DNS IP addresses of the primary and secondary Active Directory domain controllers.
|
DomainMembership |
withDomain(String domain)
The identifier of the Active Directory Domain.
|
DomainMembership |
withFQDN(String fQDN)
The fully qualified domain name (FQDN) of the Active Directory Domain.
|
DomainMembership |
withIAMRoleName(String iAMRoleName)
The name of the IAM role used when making API calls to the Directory Service.
|
DomainMembership |
withOU(String oU)
The Active Directory organizational unit for the DB instance or cluster.
|
DomainMembership |
withStatus(String status)
The status of the Active Directory Domain membership for the DB instance or cluster.
|
public void setDomain(String domain)
The identifier of the Active Directory Domain.
domain
- The identifier of the Active Directory Domain.public String getDomain()
The identifier of the Active Directory Domain.
public DomainMembership withDomain(String domain)
The identifier of the Active Directory Domain.
domain
- The identifier of the Active Directory Domain.public void setStatus(String status)
The status of the Active Directory Domain membership for the DB instance or cluster. Values include
joined
, pending-join
, failed
, and so on.
status
- The status of the Active Directory Domain membership for the DB instance or cluster. Values include
joined
, pending-join
, failed
, and so on.public String getStatus()
The status of the Active Directory Domain membership for the DB instance or cluster. Values include
joined
, pending-join
, failed
, and so on.
joined
, pending-join
, failed
, and so on.public DomainMembership withStatus(String status)
The status of the Active Directory Domain membership for the DB instance or cluster. Values include
joined
, pending-join
, failed
, and so on.
status
- The status of the Active Directory Domain membership for the DB instance or cluster. Values include
joined
, pending-join
, failed
, and so on.public void setFQDN(String fQDN)
The fully qualified domain name (FQDN) of the Active Directory Domain.
fQDN
- The fully qualified domain name (FQDN) of the Active Directory Domain.public String getFQDN()
The fully qualified domain name (FQDN) of the Active Directory Domain.
public DomainMembership withFQDN(String fQDN)
The fully qualified domain name (FQDN) of the Active Directory Domain.
fQDN
- The fully qualified domain name (FQDN) of the Active Directory Domain.public void setIAMRoleName(String iAMRoleName)
The name of the IAM role used when making API calls to the Directory Service.
iAMRoleName
- The name of the IAM role used when making API calls to the Directory Service.public String getIAMRoleName()
The name of the IAM role used when making API calls to the Directory Service.
public DomainMembership withIAMRoleName(String iAMRoleName)
The name of the IAM role used when making API calls to the Directory Service.
iAMRoleName
- The name of the IAM role used when making API calls to the Directory Service.public void setOU(String oU)
The Active Directory organizational unit for the DB instance or cluster.
oU
- The Active Directory organizational unit for the DB instance or cluster.public String getOU()
The Active Directory organizational unit for the DB instance or cluster.
public DomainMembership withOU(String oU)
The Active Directory organizational unit for the DB instance or cluster.
oU
- The Active Directory organizational unit for the DB instance or cluster.public void setAuthSecretArn(String authSecretArn)
The ARN for the Secrets Manager secret with the credentials for the user that's a member of the domain.
authSecretArn
- The ARN for the Secrets Manager secret with the credentials for the user that's a member of the domain.public String getAuthSecretArn()
The ARN for the Secrets Manager secret with the credentials for the user that's a member of the domain.
public DomainMembership withAuthSecretArn(String authSecretArn)
The ARN for the Secrets Manager secret with the credentials for the user that's a member of the domain.
authSecretArn
- The ARN for the Secrets Manager secret with the credentials for the user that's a member of the domain.public List<String> getDnsIps()
The IPv4 DNS IP addresses of the primary and secondary Active Directory domain controllers.
public void setDnsIps(Collection<String> dnsIps)
The IPv4 DNS IP addresses of the primary and secondary Active Directory domain controllers.
dnsIps
- The IPv4 DNS IP addresses of the primary and secondary Active Directory domain controllers.public DomainMembership withDnsIps(String... dnsIps)
The IPv4 DNS IP addresses of the primary and secondary Active Directory domain controllers.
NOTE: This method appends the values to the existing list (if any). Use
setDnsIps(java.util.Collection)
or withDnsIps(java.util.Collection)
if you want to override the
existing values.
dnsIps
- The IPv4 DNS IP addresses of the primary and secondary Active Directory domain controllers.public DomainMembership withDnsIps(Collection<String> dnsIps)
The IPv4 DNS IP addresses of the primary and secondary Active Directory domain controllers.
dnsIps
- The IPv4 DNS IP addresses of the primary and secondary Active Directory domain controllers.public String toString()
toString
in class Object
Object.toString()
public DomainMembership clone()
Copyright © 2023. All rights reserved.